// msgnew.h
// Declarations for the msgnew application
// 1. 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 OnLButtonDown(UINT flags, CPoint loc);
void OnRButtonDown(UINT flags, CPoint loc);
// Declare a message map
DECLARE_MESSAGE_MAP()
};
// 2.This is the application class declaration
class CApp : public CWinApp
{
public:
BOOL InitInstance(); // Override CWinApp base class
InitInstance()
};