Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!cs.utexas.edu!rutgers!cscnj!paul From: paul@cscnj.csc.COM (Paul Moody) Newsgroups: comp.windows.ms Subject: Re: Windows Dialog Box Summary: Child and Menu are incompatible. Keywords: Windows Message-ID: <570@cscnj.csc.COM> Date: 8 Dec 89 15:17:15 GMT References: <858@excelan.COM> Organization: Computer Sciences Corp., Piscataway NJ Lines: 23 In article <858@excelan.COM>, avnish@ka.excelan.com (Avnish Aggarwal) writes: > Does anyone know how to make a modeless dialog box that also > contains a menu bar? > I have created a dialog box that contains a menu bar that is > treated like parent window, but this fails if the dialog box > is a child window. Any ideas? > Thanks. > > Kevin Steele > You cannot have a window that is both a child and has its OWN menu. Our solution was to replace the main window's menu with the one associated with the currently active child. When a menu item is selected, forward the message to the active child. Avnish, Are you back? Are you guy's working on windows now? -- Paul Moody UUCP: rutgers!cscnj!paul Computer Sciences Corporation # the opinions expressed are entirely imaginary #