Always remove WS_BORDER style from ComboBoxEx control.
This commit is contained in:
parent
9b399da426
commit
a4b013c9f2
|
@ -1570,7 +1570,7 @@ static LRESULT COMBOEX_NCCreate (HWND hwnd)
|
||||||
DWORD oldstyle, newstyle;
|
DWORD oldstyle, newstyle;
|
||||||
|
|
||||||
oldstyle = (DWORD)GetWindowLongW (hwnd, GWL_STYLE);
|
oldstyle = (DWORD)GetWindowLongW (hwnd, GWL_STYLE);
|
||||||
newstyle = oldstyle & ~(WS_VSCROLL | WS_HSCROLL);
|
newstyle = oldstyle & ~(WS_VSCROLL | WS_HSCROLL | WS_BORDER);
|
||||||
if (newstyle != oldstyle) {
|
if (newstyle != oldstyle) {
|
||||||
TRACE("req style %08lx, reseting style %08lx\n",
|
TRACE("req style %08lx, reseting style %08lx\n",
|
||||||
oldstyle, newstyle);
|
oldstyle, newstyle);
|
||||||
|
|
Loading…
Reference in New Issue