ceedit.h

来自「基于WINDOWS mobile 的用于创建一个窗体和自定义试图的工程」· C头文件 代码 · 共 85 行

H
85
字号
#if !defined(AFX_CEEDIT_H__E9B99D67_7E4E_4761_A6CC_8EB2F020C9B4__INCLUDED_)
#define AFX_CEEDIT_H__E9B99D67_7E4E_4761_A6CC_8EB2F020C9B4__INCLUDED_

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


//---------------------------------------------------------------------------
//
//	CCeEdit window
//
//---------------------------------------------------------------------------

#ifndef ID_EDIT_UNDO
#define	ID_EDIT_UNDO	64101
#define ID_EDIT_CUT		64102
#define ID_EDIT_COPY	64103
#define ID_EDIT_PASTE	64104
#endif

#if (_WIN32_WCE < 0x500) && defined(WIN32_PLATFORM_PSPC)
#define PPC_200X
#endif


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

// Attributes
public:

// Operations
public:
	BOOL CanPaste();
	BOOL HasSelection();

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

// Implementation
public:
	virtual ~CCeEdit();

protected:
	UINT	m_nMenuID;
	CMenu	m_menuEdit;		// Context menu for the edit control

	// Generated message map functions
	//{{AFX_MSG(CCeEdit)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnUpdateEditUndo(CCmdUI* pCmdUI);
	afx_msg void OnEditUndo();
	afx_msg void OnUpdateEditCut(CCmdUI* pCmdUI);
	afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI);
	afx_msg void OnEditCopy();
	afx_msg void OnEditCut();
	afx_msg void OnEditPaste();
	afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
public:

#ifdef PPC_200X
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
#endif
};


//---------------------------------------------------------------------------


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

#endif // !defined(AFX_CEEDIT_H__E9B99D67_7E4E_4761_A6CC_8EB2F020C9B4__INCLUDED_)

⌨️ 快捷键说明

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