-
ccombobox
hi ,
how can I add tabstops to the elements of combobox.
for eg:
when the drop box populates , it should appear like this
ABC1 tab - tab description
ABC2 tab - tab description
ABC3 tab - tab description
ABC4 tab - tab description
I would like to align the description string ??
thanks
Lalit.
-
Re: ccombobox
As far as I know there is no WIN32 support for tabs in a ComboBox like there is for a ListBox. This leaves making the ComboBox owner-draw!
Or.... you could use a fixed-pitch font and do the alignment with spaces (did I really just suggest that!!!???).
-
Re: ccombobox
While creating Combo Box , have u applied WS_TABSTOP window style ....
I have some clues about alignment of the text ... if u look for CDC class then i hope u can try for text alignment .
If it will help u , let me know .
Thanx ,
--- G2