user32: Limit text in the edit field of a combo box.

This commit is contained in:
Raimonds Praude 2006-01-06 21:16:52 +01:00 committed by Alexandre Julliard
parent b49a1de179
commit 860d682c2b
1 changed files with 3 additions and 0 deletions

View File

@ -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",