home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / samples / c05 / custsbar / mystatba.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  862 b   |  41 lines

  1. // StatusBar.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CCustomStatusBar window
  6.  
  7. class CCustomStatusBar : public CStatusBarCtrl
  8. {
  9. // Construction
  10. public:
  11.     CCustomStatusBar();
  12.  
  13. // Attributes
  14. public:
  15.  
  16. // Operations
  17. public:
  18.  
  19. // Overrides
  20.     // ClassWizard generated virtual function overrides
  21.     //{{AFX_VIRTUAL(CCustomStatusBar)
  22.     //}}AFX_VIRTUAL
  23.  
  24. // Implementation
  25. public:
  26.     virtual ~CCustomStatusBar();
  27.     virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
  28.     void DetermineKeyboardState();
  29.     void DetermineTextColor();
  30.  
  31.     // Generated message map functions
  32. protected:
  33.     //{{AFX_MSG(CCustomStatusBar)
  34.     afx_msg void OnSize(UINT nType, int cx, int cy);
  35.     //}}AFX_MSG
  36.  
  37.     DECLARE_MESSAGE_MAP()
  38. };
  39.  
  40. /////////////////////////////////////////////////////////////////////////////
  41.