[idd] helper: implement keyboard navigation in config window

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2025-11-10 14:37:25 +11:00
1 parent af207a2fe1
commit 4269b5598a
4 files changed
+19 -9

No files matched your search

+6 -2
View File
@@ -105,8 +105,12 @@ int WINAPI WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _
MSG msg;
while (GetMessage(&msg, NULL, 0, 0) > 0)
{
TranslateMessage(&msg);
DispatchMessage(&msg);
HWND hDlg = window.hwndDialog();
if (!hDlg || !IsDialogMessage(hDlg, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
(void) UnregisterWait(hWait);