handlecombo.h
来自「IO函数调用测试」· C头文件 代码 · 共 49 行
H
49 行
// HandleCombo.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CHandleCombo window
class CHandleCombo : public CComboBox
{
// Construction
public:
CHandleCombo();
// Attributes
public:
// Operations
public:
int AddString(CHandle * ho);
int SelectItem(CHandle * ho);
CHandle * GetCurHandle();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHandleCombo)
public:
virtual int CompareItem(LPCOMPAREITEMSTRUCT lpCompareItemStruct);
virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
virtual void DeleteItem(LPDELETEITEMSTRUCT lpDeleteItemStruct);
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CHandleCombo();
int maxlen; // maximum number of items displayed
// 0 - no limit
// -1 - limit to screen height (NYI)
// Generated message map functions
protected:
//{{AFX_MSG(CHandleCombo)
afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
afx_msg void OnDropdown();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?