SA3DToolBar.h
上传用户:shilei2004
上传日期:2020-07-18
资源大小:83k
文件大小:2k
- #if !defined(AFX_SA3DTOOLBAR_H__7E05D533_73F4_473D_9669_5804A09832E1__INCLUDED_)
- #define AFX_SA3DTOOLBAR_H__7E05D533_73F4_473D_9669_5804A09832E1__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // SA3DToolBar.h : header file
- //
- #include <afxtempl.h>
- #ifndef __AFXPRIV_H__
- #include <afxpriv.h>
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CSA3DToolBar window
- class CSA3DToolBar : public CToolBar
- {
- // Construction
- public:
- CSA3DToolBar();
- // Attributes
- public:
- // Operations
- public:
- COLORREF m_clrBtnHilight;
- COLORREF m_clrBtnShadow;
- COLORREF m_clrBtnFace;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSA3DToolBar)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CSA3DToolBar();
- void Draw3DBorders(CDC * pDC, CRect & rect);
- // Generated message map functions
- protected:
- //{{AFX_MSG(CSA3DToolBar)
- afx_msg void OnNcPaint();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- class CDockBarEx : public CDockBar
- {
- DECLARE_DYNAMIC(CDockBarEx)
- public:
- // Default constructor
- //
- CDockBarEx();
- // Virtual destructor
- //
- virtual ~CDockBarEx();
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDockBarEx)
- public:
- virtual CSize CalcFixedLayout(BOOL bStretch, BOOL bHorz);
- //}}AFX_VIRTUAL
- // Generated message map functions
- protected:
- //{{AFX_MSG(CDockBarEx)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- void FrameEnableDocking(CFrameWnd * pFrame, DWORD dwDockStyle);
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SA3DTOOLBAR_H__7E05D533_73F4_473D_9669_5804A09832E1__INCLUDED_)