Path: utzoo!attcan!uunet!cs.utexas.edu!usc!bloom-beacon!ford-scf14!carol From: carol@ford-scf14 (Carol Toomer-Keay) Newsgroups: comp.windows.x Subject: (none) Message-ID: <8907181600.AA02895@ford-scf14.sun.com> Date: 18 Jul 89 16:00:28 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 36 Hi, I'm developing a user interface for a flight simulator and need a popup menu with additional cascading menus. Let me explain what I mean by cascading menus in case they're called something else in the real world! The idea is to popup a menu and allow the user to drag the mouse down the menu to make a selection. Moving the mouse to the far right edge of the last menu selection will cause another menu to popup (a submenu). During the mouse motion, the user continues to hold down the button until a selection is made. I have been trying to get this second menu to popup just by entering the last menu selection. It briefly appears on the screen and then the program crashes. The first popup menu seems to be working. I don't have access to any toolkits on the machine I'm using (a Megatek workstation) so the code is being written using XLib. Does anyone have an XLib program that successfully produces these menus? I'd like one that will allow the user to easily customize the menus if possible. But I'll take anything that works! Also, there is a bug in the code that produces the first popup menu. If the user presses the button and waits for the menu to appear on the screen, all is well. If the button is released before the menu is completely drawn, the program crashes. I've asked a few people about this and was told it could be a hardware problem and/or a software problem. Any ideas?? Many Thanks, Carol carol@scf1.fac.ford.com to work, perchance to compile, ay there's the rub... whether tis nobler to program the ups and downs of XLib, or take a mouse against a C of icons and by deleting, end them!