Sample Screen Saver
Sample Screen Saver is a good starting
point if you want to create your own screen
saver.
- Download Sample Screen Saver (SampleScreenSaver.rar).
- Extract files from archive with WinRAR.
- Project Files for Visual C++ are included.
If you have Visual C++, open ssaver.dsw (workspace
file). Press F5 in order to build the project,
then go to windebug directory where built
files are located and right click on Simple
Saver.SCR, choose test in pop-up menu to test
Screen Saver
- All drawing code is in DOFRAME.cpp
void DrawFrame(HWND hWnd);
Insert your own drawing code after following
comments
// ****** Insert your
own drawing code between here
- Good Luck!
this example uses "scrnsave.lib",
if you want to create Screen Saver on your own,
this
manual will help you. Local version of
manual
(download).