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:
Norman Stevens 1999-02-28 09:59:32 +00:00 committed by Alexandre Julliard
parent 07478c2e3e
commit 460881ce82
1 changed files with 5 additions and 1 deletions

View File

@ -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 );