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

📄 emdeditcell.h

📁 一个实用的GIS系统的系统维护模块
💻 H
字号:
#if !defined(AFX_EDITCELL_H__70CA45A4_E25E_4508_AAA1_230049688B9A__INCLUDED_)
#define AFX_EDITCELL_H__70CA45A4_E25E_4508_AAA1_230049688B9A__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CEMDEditCell window

class CEMDListCtrl;

class CEMDEditCell : public CEdit
{
// Construction
public:
	CEMDEditCell( CEMDListCtrl* pListCtrl, 
                  int nItem, int nSubItem, CString csInitText,bool editDoubleLimitged=false);

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEMDEditCell)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	//}}AFX_VIRTUAL
public:
    int g;
	BOOL   bLimitedToDouble;
	double GetDoubleValue();
	void   SetDoubleValue (double val);

// Implementation
public:
	virtual ~CEMDEditCell();

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

	DECLARE_MESSAGE_MAP()

private:
	
    CEMDListCtrl* m_pListCtrl;
    int  m_nItem;
    int  m_nSubItem;
    bool m_bUndo;
	int count;
    CString m_csInitText;    // Initialize text

private:
    void SetListItemText();  // Set list item text
};

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

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

#endif // !defined(AFX_EDITCELL_H__70CA45A4_E25E_4508_AAA1_230049688B9A__INCLUDED_)

⌨️ 快捷键说明

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