Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!gatech!hubcap!ncrcae!PEDEV!rogerson From: rogerson@PEDEV.Columbia.NCR.COM (rogerson) Newsgroups: comp.windows.ms Subject: Re: Creating 'cascading' menus in MS Windows Message-ID: <2302@PEDEV.Columbia.NCR.COM> Date: 6 Dec 88 14:32:36 GMT References: <2265@virgin.UUCP> <7831@well.UUCP> Reply-To: rogerson@PEDEV.Columbia.NCR.COM () Organization: NCR Corp., Engineering & Manufacturing - Columbia, SC Lines: 23 To create cascading menus in MS Windows would currently take some grunt work. However, how much grunt work would depend on how much you want the menu to act like the normal Windows menu. The best approach that I could think of is to create a popup dialog box with a list box as its only child window. The list box should be created without scrollbars (you must Edit the .dlg file if you use the Dialog Editor). Also make the listbox the same size as the dialog window. To be nice to the user, add a caption bar with the menu choice the user choose to get to this menu. What the list box provides is all of the hi-liting of normal menus, the keyboard interface, and other such items. It is not exactly like a normal menu, but a fair compromise. The worst part is it is different from a programming standpoint. The neat part of using this method is that you can make tear off menus, by making the it a model dialog box instead of a modeless dialog box! (with a little work). Hope this helps. -----Dale Rogerson-----