// helloMFC.h // Mike Barnes 10/27/98 class CHelloMFC_App : public CWinApp { public : virtual BOOL InitInstance(); }; // declare members, message handlers, message map class CMainWindow : public CFrameWnd { public : CMainWindow(); // construct frame protected : afx_msg int OnCreate(LPCREATESTRUCT); afx_msg void OnButton(); DECLARE_MESSAGE_MAP() private : CButton m_ctlButtonW; };