Mailing Lists: Apple Mailing Lists

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

Events



Hi,
    I was just trying out the example program from Quicktime Toolkit Vol.1
and I am stuck at not being able to draw a controller. I am guessing this is
because 
    MCDoAction(myMC, mcActionDraw, theWindow);
is generating an event that is not passed on to the controller. First, is
this needed to draw the controller. I am able to create a new controller
with NewMovieController and resize the movie window appropriately. Is there
any other way to draw the controller?
    Secondly, if this is the only way to do it, do I need to use
WaitNextEvent()? I am currently just doing RunApplicationEventLoop(). The
problem with this is that I do not know if I can install a EventHandler to
intercept the controller's events and pass it on to it. Would I be able to
do it from either the WindowEventHandler or ApplicationEventHandler? If this
is possible, what would the event class and kind be? I am sorry about these
basic questions but I am not able to find any more information online and am
stuck. Thanks and a happy holiday season to everyone.

Regards
George M.P.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to 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.