mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
[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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user