| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
void RegisterForEvents(WindowRef myWindow)
{
EventTypeSpec cmdEvent; cmdEvent.eventClass = kEventClassCommand;
cmdEvent.eventKind = kEventProcessCommand;
EventHandlerUPP handlerUPP;
handlerUPP = NewEventHandlerUPP(CommandEventHandler);
EventTargetRef target; target = GetWindowEventTarget(myWindow);
void * userdata = NULL; InstallEventHandler(target, handlerUPP, 1, & cmdEvent, userdata,NULL); }
Cheers, -- M. Uli Kusterer "The Witnesses of TeachText are everywhere..."
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden
| References: | |
| >Progress bar will not update. (From: Julie Porter <email@hidden>) | |
| >Re: Progress bar will not update. (From: Eric Schlegel <email@hidden>) | |
| >Re: Progress bar will not update. (From: Julie Porter <email@hidden>) | |
| >Re: Progress bar will not update. (From: Eric Schlegel <email@hidden>) | |
| >Re: Progress bar will not update. (From: Julie Porter <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.