MyToolBar.h
上传用户:cding2008
上传日期:2007-01-03
资源大小:1812k
文件大小:1k
- /////////////////////////////////////////////////////////////////////////////
- // MyToolBar.h : Header file; interface of the CMyToolBar class
- //
- // ModelMagic 3D and 'glOOP' (OpenGL Object Oriented Programming library)
- // Copyright (c) Craig Fahrnbach 1997, 1999
- //
- // OpenGL is a registered trademark of Silicon Graphics
- //
- //
- // This program is provided for educational and personal use only and
- // is provided without guarantee or warrantee expressed or implied.
- //
- // Commercial use is strickly prohibited without written permission
- // from ImageWare Development.
- //
- /////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////
- // CMyToolBar floating toolbar
- class CMyToolBar : public CToolBar
- {
- // Constructor
- public:
- CMyToolBar();
- void SetColumns(UINT nColumns);
- UINT GetColumns() { return m_nColumns; };
- // Attributes
- public:
- // Operations
- public:
- // Implementation
- public:
- virtual ~CMyToolBar();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- UINT m_nColumns;
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMyToolBar)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////