MCDraw
Your application should call theMCDrawfunction in response to an update event. The movie controller component updates the movie controller if the controller is in the window that received the update event. The controller component updates the movie associated with the controller only if the movie is contained in the window that received the event.
pascal ComponentResult MCDraw (MovieController mc, WindowPtr w);
mc- Specifies the movie controller for the operation. You obtain this
identifier from the Component Manager'sOpenComponentorOpenDefaultComponentfunction, or from theNewMovieControllerfunction (described on page 2-28).w- Points to the window in which the update event has occurred.
DESCRIPTION
TheMCDrawfunction returns a value indicating whether it handled the event. The function sets the returned value to 1 if it handles the event. The function sets the returned value to 0 if it does not handle the event. In this case, your application is responsible for the event.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help