⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flatedit.h

📁 本程序为求解博弈纳什均衡解的源程序
💻 H
字号:
#if !defined(AFX_FLATEDIT_H__E2CA1E50_2BA4_4C58_AD69_985BE95C625E__INCLUDED_)
#define AFX_FLATEDIT_H__E2CA1E50_2BA4_4C58_AD69_985BE95C625E__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CFlatEdit window

class CFlatEdit : public CEdit
{
// Construction
public:
	CFlatEdit();

// Attributes
public:
	//EDIT对应的LISTCTRL项的行
    int m_iItem;

	//EDIT对应的LISTCTRL项的列
	int m_iSubItem;

	//EDIT对应的LISTCTRL项的文本
	CString m_sInitText;

	//在位编辑是否完成
	BOOL    m_bESC;

	// EDIT中仅有一个数据的标志
	BOOL	isOneValue;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFlatEdit)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	//}}AFX_VIRTUAL

// Implementation
public:
	//利用LISTCTRL选择项初始化EDIT控件
	CFlatEdit(int iItem,int iSubItem,CString sInitText);
	
	// 设置EDIT中仅有一个数据的标志
	void SetOneValue(BOOL oneValue);
	virtual ~CFlatEdit();

	// Generated message map functions
protected:
	//{{AFX_MSG(CFlatEdit)
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnNcDestroy();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_FLATEDIT_H__E2CA1E50_2BA4_4C58_AD69_985BE95C625E__INCLUDED_)

⌨️ 快捷键说明

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