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