C++ (Qt)GrafPtr oldWindow; ::GetPort (&oldWindow);::MacSetPort ((GrafPtr) GetWindowPort(mMovieData->mQTMovieWindow));::MCDraw(mMovieData->mQTMovieController, mMovieData->mQTMovieWindow);if (oldWindow != NULL) ::MacSetPort(oldWindow);