Unidentified Flickering Menu (UFM) Phenomenon

J. Landman Gay jacque at hyperactivesw.com
Fri Feb 9 20:10:44 EST 2007


Trevor Hopkins wrote:
> I've noticed that when I have a menuPick handler running from a menu in 
> the Mac menubar, that on occasion, when selecting among options in any 
> given menu, the menu bar flickers. That is, I select a new option, the 
> handler checks the new menuItem ("!c") and unchecks the previously 
> checked menuItem, and in the course of this check/uncheck process, all 
> of the "buttons" in my menubar disappear and reappear very quickly.
> 
> Can anyone explain the phenomenon I am seeing?

I've never seen it, but I remember Scott Raney saying that menu 
manipulation on the Mac was very expensive in terms of CPU and RAM 
usage. He always recommended using the lock menus command before making 
any menu alterations, then unlock menus at the end of the handler.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list