Results 1 to 2 of 2

Thread: ComboBox and sorting it

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    Dallas,TX
    Posts
    170

    ComboBox and sorting it

    I'm writing an MFC dialog application (yes, I know MFC is evil) and I have placed a combobox control. In my InitDialg routine, I load it up with, for example:

    Texas
    California
    New Jersey

    In the properties of the combobox, I have sort set to true. So I'm hoping that the outcome is alphabetically sorted.

    The outcome is exactly the order in which it was loaded.

    What am I missing here?

    Thanks
    Phil

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Maybe you need to supply the sorting routine? Not sure.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

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