inplaceedit.h

来自「连接MYSQL数据库」· C头文件 代码 · 共 60 行

H
60
字号
#if !defined(AFX_INPLACEEDIT_H__3204B3C6_2CAE_11D5_9D0B_0050FC203B65__INCLUDED_)
#define AFX_INPLACEEDIT_H__3204B3C6_2CAE_11D5_9D0B_0050FC203B65__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CInplaceEdit window

class CInplaceEdit : public CEdit
{
// Construction
public:
	CInplaceEdit();
	CInplaceEdit(int iItem, int iSubitem, CString strInText);

// Attributes
public:

// Operations
public:

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

// Implementation
public:
	virtual ~CInplaceEdit();

	// Generated message map functions
protected:
	//{{AFX_MSG(CInplaceEdit)
	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
private:
	int m_iItem;
	int m_iSubitem;
	CString m_strInText;
	bool    m_bEsc;

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_INPLACEEDIT_H__3204B3C6_2CAE_11D5_9D0B_0050FC203B65__INCLUDED_)

⌨️ 快捷键说明

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