CComboBox scrolling

This is a discussion on CComboBox scrolling within the Windows Programming forums, part of the Platform Specific Boards category; I have my basic Combo box and I've added a few strings to it (say 5).. When I click the ...

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    9

    CComboBox scrolling

    I have my basic Combo box and I've added a few strings to it (say 5).. When I click the scroll bar, the drop down menu only displays one item at a time (instead of 3-4 like usual Windows)..

    So if I have strings 1,2,3,4,5.. Only one line is displayed at a time in a drop down list.. How do I fix that?

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    Set the height? I don't program Windows, so I don't know. Look up the function/class on MSDN.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    9
    Wow this (or I am) kind of retarded.. You have to click on the scroll 'down arrow' to resize it in Visual C++.. I kept clicking the entire Combo Box.. and could only resize it horizontally.. Thanks!?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Scrolling background?
    By Deo in forum Game Programming
    Replies: 6
    Last Post: 06-09-2005, 05:40 PM
  2. Scrolling
    By PJYelton in forum Windows Programming
    Replies: 10
    Last Post: 03-24-2003, 09:04 AM
  3. Bitmap scrolling with scroll bars
    By solar3147 in forum Windows Programming
    Replies: 0
    Last Post: 03-17-2003, 01:39 AM
  4. SkyLock graphics demo (scrolling, etc.)
    By jdinger in forum Game Programming
    Replies: 9
    Last Post: 06-30-2002, 08:18 PM
  5. Vesa. Parallax scrolling.
    By r0x in forum Game Programming
    Replies: 5
    Last Post: 06-10-2002, 05:39 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21