home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 23 / IOPROG_23.ISO / SOFT / MSGTRACE.ZIP / MyProjects / MsgTrace / MsgTracer / ExtToolBar.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-01-31  |  1.8 KB  |  55 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. // ExtToolBar.h : header file
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #ifndef EXTTOOLBAR_H
  6. #define EXTTOOLBAR_H
  7.  
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CExtToolBar window
  10. /////////////////////////////////////////////////////////////////////////////
  11.  
  12. class CExtToolBar : public CToolBar
  13. {
  14. //---------------------------------------------------------------------------
  15. // Construction
  16. //---------------------------------------------------------------------------
  17. public:
  18.                             CExtToolBar();
  19.     virtual                    ~CExtToolBar();
  20.  
  21. //---------------------------------------------------------------------------
  22. // Attributes
  23. //---------------------------------------------------------------------------
  24. protected:
  25.     static CDC                m_dcBackground;
  26.     static CBitmap            m_bmpBackground;
  27.  
  28.     static LRESULT CALLBACK    ParentWindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
  29.     static WNDPROC            m_lpfnOldWndProcParent;
  30.  
  31.     BOOL                    m_bParentSubclassed;
  32.  
  33. //---------------------------------------------------------------------------
  34. // Overrides
  35. //---------------------------------------------------------------------------
  36. public:
  37.     // ClassWizard generated virtual function overrides
  38.     //{{AFX_VIRTUAL(CExtToolBar)
  39.     //}}AFX_VIRTUAL
  40.  
  41. //---------------------------------------------------------------------------
  42. // Generated message map functions
  43. //---------------------------------------------------------------------------
  44. public:
  45.     //{{AFX_MSG(CExtToolBar)
  46.     afx_msg void OnMove(int x, int y);
  47.     //}}AFX_MSG
  48.     afx_msg LRESULT OnAfterMove( WPARAM, LPARAM );
  49.  
  50.     DECLARE_MESSAGE_MAP()
  51. };
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54. #endif
  55.