📄 listboxex.h
字号:
#if !defined(AFX_LISTBOXEX_H__EE3DA603_6DA7_476B_8976_3F9422A785C6__INCLUDED_)
#define AFX_LISTBOXEX_H__EE3DA603_6DA7_476B_8976_3F9422A785C6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ListBoxEx.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CListBoxEx window
class CListBoxEx : public CListBox
{
// Construction
public:
CListBoxEx();
// Attributes
public:
int AddString(LPCTSTR s);
int InsertString(int i, LPCTSTR s);
int DeleteString(int i);
void ResetContent();
// Operations
public:
CBrush m_bkBrush;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CListBoxEx)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CListBoxEx();
// Generated message map functions
protected:
void updateWidth(LPCTSTR s);
int width;
//{{AFX_MSG(CListBoxEx)
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
afx_msg void OnSelchange();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LISTBOXEX_H__EE3DA603_6DA7_476B_8976_3F9422A785C6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -