extoolbar.h

来自「编程实例」· C头文件 代码 · 共 52 行

H
52
字号
#if !defined(AFX_EXTOOLBAR_H__BE406F30_3F36_433E_B478_282DD4102836__INCLUDED_)
#define AFX_EXTOOLBAR_H__BE406F30_3F36_433E_B478_282DD4102836__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ExToolBar.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CExToolBar window

class CExToolBar : public CToolBar
{
// Construction
public:
	CExToolBar();

// Attributes
public:
	CComboBox	m_cmbTest;	//工具栏上的组合框

// Operations
public:
	BOOL Create(CWnd *pParentWnd, DWORD dwStyle = WS_CHILD | WS_VISIBLE |
		 CBRS_TOP, UINT nID = AFX_IDW_TOOLBAR);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CExToolBar)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CExToolBar();

	// Generated message map functions
protected:
	//{{AFX_MSG(CExToolBar)
	afx_msg void OnSelCHangedCmbTest();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EXTOOLBAR_H__BE406F30_3F36_433E_B478_282DD4102836__INCLUDED_)

⌨️ 快捷键说明

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