|
|
In article <1f89yb5.1mbrmmv1tweq3yN%smellenbergh@skynet.be> ,
sme### [at] skynetbe (Rene) wrote:
> DisableMenuCommand(NULL, 'quit');
Actually DisableMenuCommand is a CarbonLib function and no checking is
necessary, not even a check if running on Mac OS X because on Mac OS the call
will simply have no effect as long as there isn't a 'quit'. However,
DisableMenuCommand is not documented (only mentioned once in some 1999 doc)
and neither is the ability to disable system provided menus this way because
'quit' is not defined as a menu item constant. Thus, this is a hack that may
work right now, but later could simply have no effect anymore...
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|