home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TopWare 18: Liquid
/
Image.iso
/
liquid
/
top2040
/
cscrnsvr.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-05-08
|
1KB
|
44 lines
//
// Filename: cscrnsvr.h
//
//
/*
This is a screen saver which uses colormap animation, a simple technique
to achieve seemingly complicated motion. The entire source of this
program is provided for your convenience. If you find it useful, I'll
appreciate if you'll send me $10. Send the check to:
CMAP registration
c/o: Sin-Yaw Wang
5878 W. Walbrook Dr.
San Jose, CA 95129
You can also contact me at sinyaw@netcom.com.
*/
#ifndef _CSCRNSVR_H
#define _CSCRNSVR_H
class CScreenSaverWindow : public CFrameWnd
{
const int THRESHOLD;
public:
CScreenSaverWindow(void): THRESHOLD(3) {}
~CScreenSaverWindow(void) {}
afx_msg void OnDestroy(void);
afx_msg void OnKeyDown(UINT, UINT, UINT);
afx_msg void OnLButtonDown(UINT, CPoint);
afx_msg void OnMButtonDown(UINT, CPoint);
afx_msg void OnMouseMove(UINT, CPoint);
afx_msg void OnRButtonDown(UINT, CPoint);
afx_msg BOOL OnSetCursor(CWnd *, UINT, UINT);
afx_msg void OnSysKeyDown(UINT, UINT, UINT);
DECLARE_MESSAGE_MAP()
};
#endif // _CSCRNSVR_H