Click to See Complete Forum and Search --> : ccombobox


lalit kumar
March 30th, 1999, 03:03 PM
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.

Dazza
March 31st, 1999, 03:39 AM
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!!!???).

Jitendra Verma
August 2nd, 1999, 01:22 AM
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