MCActivate
Your application can use theMCActivatefunction in response to activate, deactivate, suspend, and resume events.
pascal ComponentResult MCActivate (MovieController mc, WindowPtr w, Boolean activate);
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- Specifies the window in which the event has occurred.
activate- Indicates the nature of the event. Set this parameter to
truefor activate and resume events. Set it tofalsefor deactivate and suspend events.DESCRIPTION
TheMCActivatefunction 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.