//******************************************* // Test Message Edit Control Interface // Main window will contain all the message edit controls // this should be packaged separate from the main window eventually // Purpose is to demonstrate simple controls // there are NO menus yet - everything is done through buttons and // some CEdit objects. // These objects are remarkable in themselves and show the power of reuse. // AUTHOR: Chris Wild // DATE: September 15, 1997 // #ifndef MAIN_H #define MAIN_H #include #include "Message.h" const int SIZE_FILENAME=20; // Define an application object class CMsgApp : public CWinApp { public: virtual BOOL InitInstance(); // everybody overrides this one CMessage msg; // keep the message object with the application }; // Define the window object class CMainWindow : public CFrameWnd { public: CMainWindow(); ~CMainWindow(); protected: afx_msg void OnStart(); afx_msg void OnExit(); DECLARE_MESSAGE_MAP() // set up message map handling }; #endif