Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!pequod.cso.uiuc.edu!dorner From: dorner@pequod.cso.uiuc.edu (Steve Dorner) Newsgroups: comp.sys.mac.programmer Subject: Re: Disabling menus when DA's are closed Message-ID: <1991Mar7.222812.11996@ux1.cso.uiuc.edu> Date: 7 Mar 91 22:28:12 GMT References: <3BRcy1w163w@shark.cs.fau.edu> <1991Mar6.074201.13324@nada.kth.se> <1991Mar6.174029.4706@ni.umd.edu> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at U-C Lines: 12 In article <1991Mar6.174029.4706@ni.umd.edu> zben@ni.umd.edu (Ben Cranston) writes: >goes. I could not think of a better solution than calling "fixmenu" >after EVERY call to SystemClick. This causes the menu bar to blink with >each DA click though. You're missing something obvious, as is the "count backwards from 3" poster. Your fixmenu routine should CHECK the current state of the menus in the bar, and only redraw the bar if it needs to change any of them. Call it as often as you like, and it won't flicker. -- Steve Dorner, U of Illinois Computing Services Office Internet: s-dorner@uiuc.edu UUCP: uunet!uiucuxc!uiuc.edu!s-dorner