POV-Ray : Newsgroups : povray.beta-test : No Quit in OS X : Re: No Quit in OS X Server Time
29 Jul 2024 22:20:27 EDT (-0400)
  Re: No Quit in OS X  
From: Thorsten Froehlich
Date: 27 Feb 2002 12:57:32
Message: <3c7d1e0c@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.