a problem with the number of visible items in combo box (Win32)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rince
    New Member
    • Jan 2008
    • 4

    a problem with the number of visible items in combo box (Win32)

    Hi everyone!

    I have a weird problem with combo boxes in a Win32 program. When I open the drop-down list of the combo box, there is only one visible item in it. To select other items you have to use the tiny scrollbar and scroll one item at a time.

    The only remedy I have found for this situation is to use CB_SETMINVISIBL E message, but it is only available on Windows XP and higher, so it is not a very good solution. The docs for this message say that this should be 30 by default, not 1.

    Has anyone else encountered this problem? I use Visual Studio 2005 under Windows XP Pro SP2.
  • rince
    New Member
    • Jan 2008
    • 4

    #2
    Well, actually I have figured this out. The thing is that working with combo boxes in VS 2005 dialog editor isn't quite obvious. You have to click the drop-down arrow to the right of the edit area of the combo box, and then you can resize the drop-down list. The initial size was enough only to show one item.

    Comment

    Working...