PaintToolbar.h
资源名称:GDIUSE.rar [点击查看]
上传用户:jinlangri
上传日期:2022-07-17
资源大小:10774k
文件大小:1k
源码类别:
GDI/图象编程
开发平台:
Visual C++
- #if !defined(AFX_PAINTTOOLBAR_H__A8DE7240_50F0_11D3_8C83_0010880067A7__INCLUDED_)
- #define AFX_PAINTTOOLBAR_H__A8DE7240_50F0_11D3_8C83_0010880067A7__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // PaintToolbar.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CPaintToolbar window
- class CPaintToolbar : public CToolBar
- {
- // Construction
- public:
- CPaintToolbar();
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPaintToolbar)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- void SetColumns(UINT nColumns);
- UINT GetColumns() {return m_nColumns;}
- virtual ~CPaintToolbar();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- protected:
- UINT m_nColumns;
- //{{AFX_MSG(CPaintToolbar)
- // NOTE - the ClassWizard will add and remove member functions here.
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PAINTTOOLBAR_H__A8DE7240_50F0_11D3_8C83_0010880067A7__INCLUDED_)