DirectX SDK |
This topic pertains only to application development in C and C++. See DirectDraw Visual Basic Samples.
This sample application demonstrates the use of overlays in a windowed DirectDraw application.
Source: (SDK root)\Samples\Multimedia\DDraw\Src\DDovrly
Executable: (SDK root)\Samples\Multimedia\DDraw\Bin\Ddovrly.exe
Your hardware must support overlays in order for the program to run.
Try moving, resizing, and minimizing and restoring the window. Press ALT+F4 or click the Close button to quit.
The program checks for overlay support, loads a bitmap into an overlay surface, and updates the window from the overlay surface in response to Windows messages.