Switching Between DirectDraw Window and Fullscreen Mode

ID: Q159228

3.00 WINDOWS NT kbprg kbfile kbhowto
The information in this article applies to:


SUMMARY

This sample demonstrates how to switch between DirectDraw non-exclusive windowed and exclusive fullscreen modes.

The following file is available for download from the Microsoft Software Library:

~ Win2full.exe
For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services


MORE INFORMATION

This sample code demonstrates the process of switching a DirectDraw app from windowed mode non-exclusive to fullscreen exclusive mode and back. The sample was written with Microsoft Visual C++ 4.1 and DirectX 3.0 SDK.

The process of switching from windowed mode and back requires the application to:

Execute DDSAMPLE.exe to run the sample. Select ESC to quit or the ALT+ENTER keys to switch modes.

Additional query words: 3.00 kbdsd DDraw


Keywords          : kbfile KbDirectX300 kbNTOS400 kbSDKWin32 kbWinOS95 
Version           : WINDOWS:3.0,95; winnt:4.0
Platform          : WINDOWS winnt 
Issue type        : kbinfo 

Last Reviewed: June 21, 1999