Combobox popups should be always-on-top.
This commit is contained in:
parent
36819ae09f
commit
c4be01a745
@ -574,6 +574,10 @@ static LRESULT COMBO_Create( HWND hwnd, LPHEADCOMBO lphc, HWND hwndParent, LONG
|
|||||||
lbeStyle &= ~WS_BORDER;
|
lbeStyle &= ~WS_BORDER;
|
||||||
lbeExStyle |= WS_EX_CLIENTEDGE;
|
lbeExStyle |= WS_EX_CLIENTEDGE;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
lbeExStyle |= (WS_EX_TOPMOST | WS_EX_TOOLWINDOW);
|
||||||
|
}
|
||||||
|
|
||||||
if (unicode)
|
if (unicode)
|
||||||
lphc->hWndLBox = CreateWindowExW(lbeExStyle, clbName, NULL, lbeStyle,
|
lphc->hWndLBox = CreateWindowExW(lbeExStyle, clbName, NULL, lbeStyle,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user