Commit b6866d7f authored by Susan Farley's avatar Susan Farley Committed by Alexandre Julliard

Disable the edit box when created with WS_DISABLED.

parent 251f30ac
......@@ -605,6 +605,8 @@ static LRESULT COMBO_Create( LPHEADCOMBO lphc, WND* wnd, HWND hwndParent, LONG s
else if( lphc->dwStyle & CBS_UPPERCASE )
lbeStyle |= ES_UPPERCASE;
if (wnd->dwStyle & WS_DISABLED) lbeStyle |= WS_DISABLED;
lphc->hWndEdit = CreateWindowExW(0,
editName,
NULL,
......@@ -635,7 +637,7 @@ static LRESULT COMBO_Create( LPHEADCOMBO lphc, WND* wnd, HWND hwndParent, LONG s
*/
CBForceDummyResize(lphc);
}
TRACE("init done\n");
return wnd->hwndSelf;
}
......
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