// msg1.h
// Declarations for the msg1 application
// This is the main window class declaration
class CMainWin : public CFrameWnd
{
public:
CMainWin();
// Message handler functions
void OnChar(UINT ch, UINT count, UINT flags);
void OnPaint();
void OnLButtonDown(UINT flags, CPoint loc);
void OnRButtonDown(UINT flags, CPoint loc);
// Declare a message map
DECLARE_MESSAGE_MAP()
};
// This is the application class declaration
class CApp : public CWinApp
{
public:
BOOL InitInstance(); // Override CWinApp base class InitInstance()
};