Combo Box help...

This is a discussion on Combo Box help... within the Windows Programming forums, part of the Platform Specific Boards category; I have made a project that has combo boxes on a dialog and i use SendDlgItemMessage() to insert the text ...

  1. #1
    Registered User steve_i83's Avatar
    Join Date
    Aug 2001
    Posts
    42

    Combo Box help...

    I have made a project that has combo boxes on a dialog and i use SendDlgItemMessage() to insert the text i need etc..

    the strings insert fine, if i scroll using the cursors each item is there , but no matter what i do i cannot get the Drop down list to work... if i click the drop down arrow a small line of about 1 pixel size drops , but thats it.

    if someone could please download this simple test i put together to see what im doing and tell me whats wrong id be greatful...

    click the window and a dialog will appear with the combos.. but if you click the drop down , the list wont appear

    thxs
    Attached Files Attached Files
    C Rulz!

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,138
    I guess from the files that it's an VC project ;-)

    In the resource editor, click on the combobox.
    Now click on the down arrow part of it. Adjust
    the lower bound of your combobox. It will show
    a seperate frame which shows the size of the
    dropdown part.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  3. #3
    Registered User steve_i83's Avatar
    Join Date
    Aug 2001
    Posts
    42
    thank you thank you thank you...
    at last... ive looked at thousands of goddam tutorials and none of them explained that you have to size the bloody thing...
    C Rulz!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Create new combo boxes based on items selected in preview combo box
    By RealityFusion in forum Windows Programming
    Replies: 2
    Last Post: 01-10-2007, 08:50 AM
  2. No data showing in combo box
    By PJYelton in forum Windows Programming
    Replies: 6
    Last Post: 04-29-2005, 07:20 PM
  3. How to program a "back" button with MFC
    By 99atlantic in forum Windows Programming
    Replies: 3
    Last Post: 04-26-2005, 08:34 PM
  4. New Theme
    By XSquared in forum A Brief History of Cprogramming.com
    Replies: 160
    Last Post: 04-01-2004, 07:00 PM
  5. SkyLock tech demo (GUI - DX combo box)
    By jdinger in forum Game Programming
    Replies: 4
    Last Post: 07-14-2002, 09:04 PM

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