studlg.h

来自「mfc的插件 课程设计的东西希望大家喜欢」· C头文件 代码 · 共 59 行

H
59
字号
#if !defined(AFX_STUDLG_H__262FE07F_818B_463C_B888_8735FDE3C7D3__INCLUDED_)
#define AFX_STUDLG_H__262FE07F_818B_463C_B888_8735FDE3C7D3__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CStuDlg dialog

class CStuDlg : public CDialog
{
// Construction
public:
	struct SCORE
	{
		int score1;
		int score2;
		int score3;
	};
	CStuDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CStuDlg)
	enum { IDD = IDD_DIALOG2 };
	CListBox	m_ListBox;
	CString	m_strName;
	int		m_nScore1;
	int		m_nScore2;
	int		m_nScore3;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStuDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CStuDlg)
	afx_msg void OnStuAdd();
	afx_msg void OnStuDle();
	afx_msg void OnSelchangeList1();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_STUDLG_H__262FE07F_818B_463C_B888_8735FDE3C7D3__INCLUDED_)

⌨️ 快捷键说明

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