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: events



> 
> 
> -------------------- Begin Original Message --------------------
> 
> Message text written by Malayil Philip George
> 
> "    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?
> "
> 
> 
> -------------------- End Original Message --------------------
> 
> Malayil,
> 
> It is a lot simpler to create a Carbon movie control in a window.
> See the sample code
> <http://developer.apple.com/samplecode/QuickTimeMovieControl/QuickTimeMovie
> Control.html>
> You can get the movie controller and the movie with GetControlData and
> manipulate them as you like.
> 
> Jan
>  _______________________________________________
> 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

Hi,
    I tried this method and it creates a controller and movie fine, except
that the controller doesn't have a resize button. The movie is resized with
the window's resize button which overlaps the controller. If you were to go
according to the example program, then the solution is to increase the
window size by 16 pixels and position the controller at this height from the
bottom of the window. This results in white space below the controller to
accommodate the window resize button. Is there any way to get the controller
to have a resize button like the controller from NewMovieController() does
like in the example
http://developer.apple.com/samplecode/Play_Movie_with_Controller/Play_Movie_
with_Controller.html
    Also, the controller provided with CreateMovieControl() doesn't seem to
have as many options as the previous one. There seems to be no way to
show/hide the controller once created etc. Or am I missing some
documentation? Thanks

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

References: 
 >Re: events (From: "Jan E. Schotsman" <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.