Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!hplabs!hpcc05!hpbbn!hpbblb!gordon From: gordon@hpbblb.bbn.hp.com (Gordon MacKinney) Newsgroups: comp.os.os2.programmer Subject: Re: Menu bars on dialog boxes Message-ID: <28020002@hpbblb.bbn.hp.com> Date: 20 Dec 90 08:07:45 GMT References: <127332@linus.mitre.org> Organization: HP Computer Systems Boeblingen Lines: 19 There are three steps to putting a menu in your dialogue box: 1. You need to change your resource definition (.rc file) of the dialogue box to include a menu. That should look something like this: DIALOG "Title" ID_DIALOG 0, 0, 100, 100, WC_FRAME, WS_VISIBILE | FCF_MENU | ... and whatever else you have. 2. Next you need to define your menu in the resource as well using the key word MENU (you've probably already done this). 3. Finally, in the WM_INITDLG of your dialogue procedure, call the WinLoadMenu command with the ID of your menu. I don't know if this is correct programming style, but it worked for me. Kristz (these stupid German keyboards...)