📄 listboxdlg.h
字号:
#if !defined(AFX_LISTBOXDLG_H__B4DE3BCB_F0CC_462D_BF49_C28A40F05656__INCLUDED_)
#define AFX_LISTBOXDLG_H__B4DE3BCB_F0CC_462D_BF49_C28A40F05656__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ListBoxDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CListBoxDlg dialog
class CListBoxDlg : public CDialog
{
// Construction
public:
CListBoxDlg(CWnd* pParent = NULL); // standard constructor
struct SCORE
{
int score1;
int score2;
int score3;
};
// Dialog Data
//{{AFX_DATA(CListBoxDlg)
enum { IDD = IDD_LISTBOX };
CListBox m_List;
CString m_strName;
int m_nScore1;
int m_nScore2;
int m_nScore3;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CListBoxDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CListBoxDlg)
afx_msg void OnDataAdd();
afx_msg void OnDataDel();
afx_msg void OnSelchangeList1();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LISTBOXDLG_H__B4DE3BCB_F0CC_462D_BF49_C28A40F05656__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -