CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: ccombobox

  1. #1
    Join Date
    Mar 1999
    Posts
    1

    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.

  2. #2
    Join Date
    Apr 1999
    Posts
    24

    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!!!???).

  3. #3
    Join Date
    Jul 1999
    Posts
    2

    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





Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured