tempprojdlg.h

来自「一个FlexGrid应用的好程序」· C头文件 代码 · 共 73 行

H
73
字号
// TempProjDlg.h : header file
//
//{{AFX_INCLUDES()
#include "msflexgrid.h"
#include "Input.h"	// Added by ClassView
#include "StudentInfo.h"	// Added by ClassView
//}}AFX_INCLUDES

#if !defined(AFX_TEMPPROJDLG_H__0E7D7EE3_AEAF_414C_A389_D46E6ADB28AB__INCLUDED_)
#define AFX_TEMPPROJDLG_H__0E7D7EE3_AEAF_414C_A389_D46E6ADB28AB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CTempProjDlg dialog

class CTempProjDlg : public CDialog
{
// Construction
public:
//	CWnd * GetThisCellMaskControl();
	void GridEdit(WORD nKeyAsciiCode, CWnd *p_wnd);
	CEdit m_Edit;
	CString m_FilePathName;
	int GenID(int m_Row,int m_Col);
	void LoadData();
	int m_Count;
	CStudentInfo m_StudentInfo[50];
	CInput m_Input;
	CTempProjDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTempProjDlg)
	enum { IDD = IDD_TEMPPROJ_DIALOG };
	CMSFlexGrid	m_Grid;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTempProjDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	afx_msg void OnAdd();
	afx_msg void OnMuOpenfile();
	afx_msg void OnMuSave();
	afx_msg void OnDblClickMsflexgrid1();
	afx_msg void OnClickMsflexgrid1();
	afx_msg void OnEnterCellMsflexgrid1();
	afx_msg void OnLeaveCellMsflexgrid1();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TEMPPROJDLG_H__0E7D7EE3_AEAF_414C_A389_D46E6ADB28AB__INCLUDED_)

⌨️ 快捷键说明

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