| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
One option is install a kEventMenuEnableItems handler on the application. In
it you can disable an entire menu and enable selected commands and then
return eventNotHandledErr. After that the commands in the menu will get
passed to the chain of kEventCommandUpdateStatus handlers, and if none of
them enable a command, it will stay disabled. This may not be appropriate
for every menu, but it works well for some.
| References: | |
| >Re: Correct way to handle kEventCommandUpdateStatus? (From: Laurence Harris <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.