Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to enable and handle Preference menu.



On 5/31/03 5:45 AM, Nobuyasu Jinnai/???? didst favor us with:

> Dir sir,
>
> I am writing code with carbon-nib.
> I want to enable Preference menu of the application,
> and want to handle its event.
>
> Please someone tell me how to enable and handle Preference menu.
>
It uses the kHICommandPreferences MenuCommand. So enable it in a {
kEventProcessCommand, kEventCommandUpdateStatus } handler, and respond to it
in a { kEventProcessCommand, kEventCommandProcess } handler.

Larry
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >How to enable and handle Preference menu. (From: Nobuyasu Jinnai/神内伸恭 <email@hidden>)



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.