Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!ai-lab!wookumz.gnu.ai.mit.edu!dweinste From: dweinste@wookumz.gnu.ai.mit.edu (David Weinstein) Newsgroups: comp.windows.ms.programmer Subject: Re: Menus in dialogs Message-ID: <15047@life.ai.mit.edu> Date: 19 Apr 91 00:43:29 GMT References: <5542@eastapps.East.Sun.COM> Sender: news@ai.mit.edu Organization: Chaos under Glass Lines: 25 In article <5542@eastapps.East.Sun.COM> kstout@medieval.UUCP () writes: #I would like to include menus in a dialog. Any thoughts or #suggestions on how to go about this? References to correct #documentation, Petzold examples, are good too. Windows in a dialog box? Sick, twisted, documented, and easy. :-) The specifics are in the Reference Volume 2 (around 7-35). Look up the specifics regarding the creation (indirectly) of a dialog box, and you will find that the dialog template structure includes a slot for an asciiz string which specifies the menu (which you compile in with the resource compiler). Be warned, so far as I can tell, you can't use the arrow keys to shift from menu to menu to like you can in a normal window, but Alt-(char) works just fine... --Dave -- Dave Weinstein Internet: dweinste@isis.cs.du.edu Disclaimer: You aren't serious, are you? dweinste@gnu.ai.mit.edu In the beginning, there was nothing. And God said, "Let there be Light." And there was still nothing. But, you could see it.