mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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:
parent
449a08a6a8
commit
6e5fde7ebb
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue