[COMCTL32] Property Sheet: Use PROPSHEET_IsDialogMessage in message loop (#6226)

Fix Ctrl+Tab and Shift+Ctrl+Tab key
combination action in property sheet.
JIRA issue: CORE-17941
Use PROPSHEET_IsDialogMessage in
the message loop of PropertySheetA/W
function, instead of IsDialogMessage.
This commit is contained in:
Katayama Hirofumi MZ 2023-12-26 21:49:04 +09:00 committed by GitHub
parent 449a08a6a8
commit 6e5fde7ebb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2787,6 +2787,10 @@ static void PROPSHEET_CleanUp(HWND hwndDlg)
GlobalFree(psInfo);
}
#ifdef __REACTOS__
static BOOL PROPSHEET_IsDialogMessage(HWND hwnd, LPMSG lpMsg);
#endif
static INT do_loop(const PropSheetInfo *psInfo)
{
MSG msg;
@ -2799,7 +2803,11 @@ static INT do_loop(const PropSheetInfo *psInfo)
if(ret == -1)
break;
#ifdef __REACTOS__
if (!PROPSHEET_IsDialogMessage(hwnd, &msg))
#else
if(!IsDialogMessageW(hwnd, &msg))
#endif
{
TranslateMessage(&msg);
DispatchMessageW(&msg);