Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!math.fu-berlin.de!opal!unido!mcshh!janhh!jan From: jan@janhh.hanse.de (Jan Willamowius) Newsgroups: comp.sys.atari.st Subject: Closing Windows Message-ID: <8765454@janhh.hanse.de> Date: 25 Mar 91 22:27:00 GMT Organization: janhh, Atari UUCP server, Hamburg Lines: 28 Dear netlanders, every once in an while I had the problem that a window wouldn't respond the first time I clicked eg. the closer. I figured it was a rare bug burried in GEM. But now I always have this problem with a program that I wrote myself. I found out that this only happens when I turn off the menu (using menu_bar(...,1)) while the user can work with he window. Turning the menu off an d on isn't the usual thing to do, but as far as I know there is nothing in the developers docs that says that I'm not allowed to use menu_bar during the program. So the question is, if there is any way around this problem that one has to click twice to close the window ? Do other people have this, too ? I also tried to turn off the menu by using menu_ienable on all the menu titles, but as soon as I move the mouse on the still selected, but disabled title I get garbage on the screen. Any ideas ? - Jan -- Jan Willamowius E-Mail: jan@janhh.hanse.de Nienredder 6 2000 Hamburg 54 "A-Ram-A-Lam-A-Ding-Dong" (The Edsels)