user32: Limit text in the edit field of a combo box.
This commit is contained in:
parent
b49a1de179
commit
860d682c2b
|
@ -2299,6 +2299,9 @@ static LRESULT ComboWndProc_common( HWND hwnd, UINT message,
|
|||
return (lphc->wState & CBF_EUI) ? TRUE : FALSE;
|
||||
case CB_GETCOMBOBOXINFO:
|
||||
return COMBO_GetComboBoxInfo(lphc, (COMBOBOXINFO *)lParam);
|
||||
case CB_LIMITTEXT:
|
||||
if( lphc->wState & CBF_EDIT )
|
||||
return SendMessageW(lphc->hWndEdit, EM_LIMITTEXT, wParam, lParam);
|
||||
default:
|
||||
if (message >= WM_USER)
|
||||
WARN("unknown msg WM_USER+%04x wp=%04x lp=%08lx\n",
|
||||
|
|
Loading…
Reference in New Issue