Commit 860d682c authored by Raimonds Praude's avatar Raimonds Praude Committed by Alexandre Julliard

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

parent b49a1de1
......@@ -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",
......
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