⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 statuscombo.h

📁 《深入剖析visual c++编程技术vcCode(人民邮电)》的源代码
💻 H
字号:
#if !defined(AFX_STATUSCOMBO_H__04B11A87_B5B7_11D2_8398_26DCA8000000__INCLUDED_)
#define AFX_STATUSCOMBO_H__04B11A87_B5B7_11D2_8398_26DCA8000000__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CStatusCombo window

class CStatusCombo : public CComboBox
{
// Construction
public:
	CStatusCombo();
	BOOL Create(CStatusBar * parent, UINT id, DWORD style);
// Attributes
public:

// Operations
public:
   __inline void Reposition() { CStatusControl::reposition(this); }
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStatusCombo)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CStatusCombo();
	// maxlen limits the number of items that can be displayed in the combo box
	// before a scrollbar is needed. It will adjust the dropdown to pop upwards
	// or downwards to hold the maximum possible. If this value is set to
	// 0, the combo box is limited by the screen size
	// If it is set to -1, there is no limit to the combo box.
	int maxlen;
	// Generated message map functions
protected:
	//{{AFX_MSG(CStatusCombo)
	afx_msg void OnDropdown();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_STATUSCOMBO_H__04B11A87_B5B7_11D2_8398_26DCA8000000__INCLUDED_)

⌨️ 快捷键说明

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