linquize
linquize

Reputation: 20366

How to allow to enter text longer than width of MFC ComboBox

If the text is longer than the width of an MFC ComboBox, it stops accepting new characters. If paste long text to an MFC ComboBox, the remaining part (longer than displayable) are trimmed.

How to allow full text be entered?

Upvotes: 3

Views: 1891

Answers (1)

acraig5075
acraig5075

Reputation: 10756

The Combobox control has a property 'auto' that automatically scrolls text that is too long to fit. By default it's false. Set it to true to enable this behaviour.

Upvotes: 8

Related Questions