Is there a way to set the max length in a combo box?

Like the TextBox.Max property, if the user types in the text field, it would stop at the max length. There is no such property for combobox, can it be added by a SendMessage API or a wrapper?

Thanks.