home *** CD-ROM | disk | FTP | other *** search
/ Programming Windows 95 with MFC / Programming Windows 95 with MFC (Microsoft Programming Series)(097-0001465)(1996).iso / CODE / Chap05 / CtlDemo3 / CtlDemo3.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-05  |  808 b   |  39 lines

  1. //***********************************************************************
  2. //
  3. //  CtlDemo3.h
  4. //
  5. //***********************************************************************
  6.  
  7. class CMyApp : public CWinApp
  8. {
  9. public:
  10.     virtual BOOL InitInstance ();
  11. };
  12.  
  13. class CMainWindow : public CFrameWnd
  14. {
  15. private:
  16.     CFont m_font;
  17.     HBITMAP m_hBitmap;
  18.  
  19.     CBitmapButton m_ctlButton1;
  20.     CButton m_ctlButton2;
  21.     CButton m_ctlButton3;
  22.  
  23.     CStatic m_ctlLabel1;
  24.     CStatic m_ctlLabel2;
  25.     CStatic m_ctlLabel3;
  26.  
  27. public:
  28.     CMainWindow ();
  29.  
  30. protected:
  31.     afx_msg int OnCreate (LPCREATESTRUCT);
  32.     afx_msg void OnDestroy ();
  33.     afx_msg void OnOptionsDisable ();
  34.     afx_msg void OnOptionsExit ();
  35.     afx_msg void OnUpdateOptionsDisableUI (CCmdUI*);
  36.  
  37.     DECLARE_MESSAGE_MAP ()
  38. };
  39.