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

📄 yheditcell.h

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

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// YHEditCell.h : header file
//
class CXListCtrl;
/////////////////////////////////////////////////////////////////////////////
// CYHEditCell window

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

// Operations
public:

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

// Implementation
public:
	virtual ~CYHEditCell();

	// Generated message map functions
protected:
	//{{AFX_MSG(CYHEditCell)
	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:
    CXListCtrl* m_userlist;
    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_YHEDITCELL_H__3A01BAED_0034_4ECA_ACEA_CEEC49356AC7__INCLUDED_)

⌨️ 快捷键说明

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