dropdown box blues

This is a discussion on dropdown box blues within the Windows Programming forums, part of the Platform Specific Boards category; this is an annoying problem i get in MSVC++6 (professional) when in the resource editor, happily making my dialog boxes ...

  1. #1
    Emotionally Unstable DarkViper's Avatar
    Join Date
    Oct 2002
    Posts
    343

    dropdown box blues

    this is an annoying problem i get in MSVC++6 (professional)

    when in the resource editor, happily making my dialog boxes and i soon come to the need of a dropdown menu. No problem, ive worked with these countless time sin HTML and PHP. But theres a problem..

    I cannot populate my drop down box from the resource editor like it says i can.

    I click the question mark and it gives me this:
    Enter listbox items
    Allows you to populate a listbox with data. Type the first item and press CTRL+RETURN to add another item.
    like everythings all hunky dorey and i have an option.

    everythings greyed out, am i missing a step?
    its properly defined in the header file
    its a droplist
    no owner draw

    thats it. Create and fill. Or at least so you think.

    Can someone help me here?
    Attached Images Attached Images  
    ~DJ DarkViper signing out
    ----------------------------------------
    My Site:
    Black Jaguar Studios

    Languages:
    Fluent English, Starter German, HTML, Javascript, Actionscript, Intermediate PHP

    Verteran Despiser of: ASP, Java, BASIC, Pascal, Cobalt

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    32
    I had the same problem,

    just click inside the data box and add the items, you must use a cntrl+Enter to move down a line after each entry

    next go to the dialog dropdown box and place your mouse over the dropdown arrow, it will give you the option to resize. Drag this down a good ways, to allow all the data you have typed in to appear, then test the program, you should see your new items listed.

    you have to tell the dropdown box how far to display results by giving it the space

    hope that helps
    I'd like to put Murphy and his laws in headlock sometimes!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 02-13-2008, 02:59 PM
  2. How to program a "back" button with MFC
    By 99atlantic in forum Windows Programming
    Replies: 3
    Last Post: 04-26-2005, 09:34 PM
  3. New Theme
    By XSquared in forum A Brief History of Cprogramming.com
    Replies: 160
    Last Post: 04-01-2004, 08:00 PM
  4. display a file in dropdown edit box
    By sunburnbyRA in forum Windows Programming
    Replies: 2
    Last Post: 03-10-2004, 01:58 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 10:44 AM

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