CB_LIMITTEXT

Version 3.0

This message limits the length (in bytes) of the text that the user may enter into the edit control of a combo box.

Parameter

Description

 

wParam

Specifies the maximum number of bytes which the user can enter.

 

lParam

Is not used.

 

Return Value

The return value is TRUE if the message is successful; otherwise, it is FALSE. If this message is sent to a combo box without an edit control, the return value is CB_ERR.