Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Version 1.0, 2003-01-14
Shows how to use BeginFullScreen and EndFullScreen to enter and exit full-screen mode.
Mac OS X
Mac OS X or later
FullScreen is a sample to demonstrate how to run an app in full screen mode on Mac OS X. The sample uses the Quicktime calls BeginFullScreen() and EndFullScreen() to enter and leave full screen mode. The sample also catches kEventAppActivated and kEventAppDeactivated so it knows when to stop or start drawing and hide or show its full screen window so it does not mess with other applications on the system. Requirements: Mac OS X or later Keywords: Full Screen, Hide Dock, Hide Menu