--- trunk/reactos/lib/user32/controls/combo.c 2006-01-07 05:11:32 UTC (rev 20646)
+++ trunk/reactos/lib/user32/controls/combo.c 2006-01-07 05:23:59 UTC (rev 20647)
@@ -29,7 +29,6 @@
* TODO:
* - ComboBox_[GS]etMinVisible()
* - CB_GETMINVISIBLE, CB_SETMINVISIBLE
- * - CB_LIMITTEXT
* - CB_SETTOPINDEX
*/
@@ -2315,7 +2314,9 @@
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",