home *** CD-ROM | disk | FTP | other *** search
- /////////////////////////////////////////////////////////////////////////////
- // ExtToolBar.h : header file
- /////////////////////////////////////////////////////////////////////////////
-
- #ifndef EXTTOOLBAR_H
- #define EXTTOOLBAR_H
-
- /////////////////////////////////////////////////////////////////////////////
- // CExtToolBar window
- /////////////////////////////////////////////////////////////////////////////
-
- class CExtToolBar : public CToolBar
- {
- //---------------------------------------------------------------------------
- // Construction
- //---------------------------------------------------------------------------
- public:
- CExtToolBar();
- virtual ~CExtToolBar();
-
- //---------------------------------------------------------------------------
- // Attributes
- //---------------------------------------------------------------------------
- protected:
- static CDC m_dcBackground;
- static CBitmap m_bmpBackground;
-
- static LRESULT CALLBACK ParentWindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
- static WNDPROC m_lpfnOldWndProcParent;
-
- BOOL m_bParentSubclassed;
-
- //---------------------------------------------------------------------------
- // Overrides
- //---------------------------------------------------------------------------
- public:
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CExtToolBar)
- //}}AFX_VIRTUAL
-
- //---------------------------------------------------------------------------
- // Generated message map functions
- //---------------------------------------------------------------------------
- public:
- //{{AFX_MSG(CExtToolBar)
- afx_msg void OnMove(int x, int y);
- //}}AFX_MSG
- afx_msg LRESULT OnAfterMove( WPARAM, LPARAM );
-
- DECLARE_MESSAGE_MAP()
- };
-
- /////////////////////////////////////////////////////////////////////////////
- #endif
-