Disable the edit box when created with WS_DISABLED.

This commit is contained in:
Susan Farley 2001-05-31 21:39:21 +00:00 committed by Alexandre Julliard
parent 251f30ac3c
commit b6866d7f20
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}