Description: VC++ Prepared screensavers example program called by the counter DrawBitmap () function, switch the picture
Note that the two functions of IDB_BITMAP1, dc.BitBlt (0,0,800,600 ...... and if (nIndexBit> = 5) of the relevant data bmp images based on your number, size, location varies, I chose five Zhang, 800x600 in bmp picture. attention, ID values are sequential, IDB_BITMAP1 most school
Respond to keyboard, mouse, screen saver is indispensable
To Search:
File list (Check if you may need any files):
ym_vcpp-MyScreensaver
.....................\hicode
.....................\......\MyScreensaver
.....................\......\.............\MyScreensaver.aps
.....................\......\.............\MyScreensaver.clw
.....................\......\.............\MyScreensaver.cpp
.....................\......\.............\MyScreensaver.dsp
.....................\......\.............\MyScreensaver.dsw
.....................\......\.............\MyScreensaver.h
.....................\......\.............\MyScreensaver.rc
.....................\......\.............\MyScreensaverDlg.cpp
.....................\......\.............\MyScreensaverDlg.h
.....................\......\.............\MyWnd.cpp
.....................\......\.............\MyWnd.h
.....................\......\.............\ReadMe.txt
.....................\......\.............\res
.....................\......\.............\resource.h
.....................\......\.............\...\bitmap11.bmp
.....................\......\.............\...\bitmap22.bmp
.....................\......\.............\...\bitmap33.bmp
.....................\......\.............\...\bitmap44.bmp
.....................\......\.............\...\bitmap55.bmp
.....................\......\.............\...\cursor1.cur
.....................\......\.............\...\MyScreensaver.ico
.....................\......\.............\...\MyScreensaver.rc2
.....................\......\.............\StdAfx.cpp
.....................\......\.............\StdAfx.h