combotoolbar.h

来自「《突破Visual C++.NET编程实例五十讲+源文件,初学者学习的好东东!」· C头文件 代码 · 共 34 行

H
34
字号
// ComboToolBar.h:  CComboToolBar class类的接口.
//


#if !defined(AFX_COMBOTOOLBAR_H__3B54149A_61A8_11D2_86B6_0040055C08D9__INCLUDED_)
#define AFX_COMBOTOOLBAR_H__3B54149A_61A8_11D2_86B6_0040055C08D9__INCLUDED_

#include "MultiColumnComboBox.h"	
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

class CComboToolBar : public CToolBar  
{
public:
	UINT m_nIDButton;
	virtual void InitCombo();
	CMultiColumnComboBox m_combo;
	CComboToolBar(UINT nIDButton);
	virtual ~CComboToolBar();
	virtual CSize CalcDynamicLayout( int nLength, DWORD dwMode );
	//{{AFX_VIRTUAL(CComboToolBar)
	//}}AFX_VIRTUAL
protected:
	//{{AFX_MSG(CComboToolBar)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

#endif // !defined(AFX_COMBOTOOLBAR_H__3B54149A_61A8_11D2_86B6_0040055C08D9__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?