Re: DropDown Combo

From: Jeff Partch (jeffp_at_mvps.org)
Date: 07/01/04


Date: Wed, 30 Jun 2004 19:24:54 -0500


"vendmacro" <a@a.com> wrote in message
news:%23Hd0LBwXEHA.3120@TK2MSFTNGP12.phx.gbl...
> Hi all,
>
> Using MS VC++ .NET 2003 std ed to make a simple win32 dialog app, I used
the
> resource editor to place a combobox on my dialog. And then in the dialog
> CALLBACK I add options for the combox box in the WM_INITDIALOG message.
The
> combo box is of standard / normal type ("Drop List") (not owner drawn
> etc...). Now, after I successfully compile and run the app, when I click
the
> combo box "down arrow" THE DROPDOWN LIST DOES NOT DISPLAY, but I can cycle
> thru the option by use of the arrow keys (on the keyboard). What have I
done
> (or not done) to prevent the display of the drop down options??? Thanks
All!

The height of the dropdown portion defaults to 0 in the IDE dialog editor.
You need to manually set it to a height that looks right to you: click on
the drop arrow and pull it down with the mouse in the IDE.



Relevant Pages

  • Re: DoDataExchange woes
    ... But even when I did it manually, the resource editor quickly "forgot" that as I edited the generated code skeleton. ... entry then the IDE does not know that it is associated with the template, and so the "Add variable" menu item is disabled. ... [The IDE does not "remember" this association, but rather scans the list of classes looking for the correct IDD value. ...
    (microsoft.public.vc.mfc)
  • Re: "We Never Use Assembly Language"
    ... can call up debugger, resource editor, help file, etc. ... nearly feature to feature to your IDE which took a decade of heavy dev ...
    (alt.lang.asm)
  • Re: Upgrade Anxiety
    ... reason I would want to start typing code until I've added all the event handlers! ... IMHO, the Add Variable screen is the single worst feature of the "new" IDE, and always dropping you into the code window after each addition is the worst of the worst. ... A modal dialog should exit back to where you came from, which in this context is usually the resource editor. ...
    (microsoft.public.vc.mfc)
  • Re: Debug ASSERT when CDialog::DoModal() from PreTranslateMessage()
    ... this from a callback on another thread or you did not reset the resource ... All the DialogBoxes were created using ... the resource editor. ...
    (microsoft.public.vc.mfc)
  • Re: How to use binary files as resources in VB 2005
    ... a resource editor was already availlable in the ide since VB6, ... exe with all the required files which I can extract at will through my ... extract them using resource files. ...
    (microsoft.public.dotnet.languages.vb)