combotoolbar.h

来自「精通MFC原书的所有代码打包成5个文件(由于一共太大,多次上传都失败了),这里是」· C头文件 代码 · 共 52 行

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

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

/////////////////////////////////////////////////////////////////////////////
// CComboToolBar window

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

// Attributes
public:

// Operations
public:
		BOOL CreateCombo( DWORD dwStyle, CComboBox *pComboBox, UINT nID,
		int nWidth, int nHeight );

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

// Implementation
public:
	virtual ~CComboToolBar();

	// Generated message map functions
protected:
	//{{AFX_MSG(CComboToolBar)
		// 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_COMBOTOOLBAR_H__BCB8D958_3632_41AD_A9B2_EEF00847C1A6__INCLUDED_)

⌨️ 快捷键说明

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