Don't check children of disabled or invisible controls for dialog
keyboard accelerators. Fixes problems with dialogs with tab boxes.
This commit is contained in:
parent
07478c2e3e
commit
460881ce82
|
@ -1080,8 +1080,12 @@ static BOOL DIALOG_IsAccelerator( HWND hwnd, HWND hwndDlg, WPARAM vKey )
|
|||
break;
|
||||
}
|
||||
}
|
||||
hwndNext = GetWindow( hwndControl, GW_CHILD );
|
||||
}
|
||||
hwndNext = GetWindow( hwndControl, GW_CHILD );
|
||||
else
|
||||
{
|
||||
hwndNext = 0;
|
||||
}
|
||||
if (!hwndNext)
|
||||
{
|
||||
hwndNext = GetWindow( hwndControl, GW_HWNDNEXT );
|
||||
|
|
Loading…
Reference in New Issue