Commit 460881ce authored by Norman Stevens's avatar Norman Stevens Committed by Alexandre Julliard

Don't check children of disabled or invisible controls for dialog

keyboard accelerators. Fixes problems with dialogs with tab boxes.
parent 07478c2e
......@@ -1080,8 +1080,12 @@ static BOOL DIALOG_IsAccelerator( HWND hwnd, HWND hwndDlg, WPARAM vKey )
break;
}
}
}
hwndNext = GetWindow( hwndControl, GW_CHILD );
}
else
{
hwndNext = 0;
}
if (!hwndNext)
{
hwndNext = GetWindow( hwndControl, GW_HWNDNEXT );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment