mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 04:14:53 +00:00
[SDK][INCLUDE] Don't navigate over size grip control with keyboard (#6914)
Add WS_GROUP style to the size grip to avoid the keyboard selection stuck. Fixes keyboard navigation bug in the "Move to..." & "Copy to..." dialogs that was making the button lose selection focus. CORE-19585
This commit is contained in:
parent
24a38b34ed
commit
d4433ee0c9
1 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,8 @@ LayoutShowGrip(LAYOUT_DATA *pData, BOOL bShow)
|
||||||
|
|
||||||
if (pData->m_hwndGrip == NULL)
|
if (pData->m_hwndGrip == NULL)
|
||||||
{
|
{
|
||||||
DWORD style = WS_CHILD | WS_CLIPSIBLINGS | SBS_SIZEGRIP;
|
/* CORE-19585: WS_GROUP set to avoid navigation over the grip control */
|
||||||
|
DWORD style = WS_GROUP | WS_CHILD | WS_CLIPSIBLINGS | SBS_SIZEGRIP;
|
||||||
pData->m_hwndGrip = CreateWindowExW(0, L"SCROLLBAR", NULL, style,
|
pData->m_hwndGrip = CreateWindowExW(0, L"SCROLLBAR", NULL, style,
|
||||||
0, 0, 0, 0, pData->m_hwndParent,
|
0, 0, 0, 0, pData->m_hwndParent,
|
||||||
NULL, GetModuleHandleW(NULL), NULL);
|
NULL, GetModuleHandleW(NULL), NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue