editgrid.h

来自「某个实验事编写粗糙集智能信息处理的程序」· C头文件 代码 · 共 64 行

H
64
字号
 #if !defined(AFX_EDITGRID_H__43A54467_1631_11D4_9209_0080C8E21834__INCLUDED_)
#define AFX_EDITGRID_H__43A54467_1631_11D4_9209_0080C8E21834__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CEditGrid window
#include "msflexgrid.h"
#include "EditWnd.h"	// Added by ClassView

class CEditGrid : public CMSFlexGrid
{
// Construction
public:
	CEditGrid();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEditGrid)
	//}}AFX_VIRTUAL

// Implementation
public:
	int m_nLogY;
	int m_nLogX;
	long m_lBorderHeight;
	long m_lBorderWidth;
	CEditWnd m_edit;
	virtual ~CEditGrid();
	virtual void PreSubclassWindow();
	afx_msg void OnUpdateGrid();

protected:
	afx_msg void OnKeyPressGrid(short FAR* KeyAscii);
    afx_msg void OnDblClickGrid();
    
	DECLARE_EVENTSINK_MAP()
	
    // Generated message map functions
protected:
	//{{AFX_MSG(CEditGrid)
	afx_msg UINT OnGetDlgCode();
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_EDITGRID_H__43A54467_1631_11D4_9209_0080C8E21834__INCLUDED_)

⌨️ 快捷键说明

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