?? ownedit.h
字號:
#if !defined(AFX_OWNEDIT_H__549E7241_5172_11D6_B545_00E04C104C2B__INCLUDED_)
#define AFX_OWNEDIT_H__549E7241_5172_11D6_B545_00E04C104C2B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OwnEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// COwnEdit window
//自己定義的CEdit的派生類,主要是為了截斷控件CEdit中的上下文菜單,
//不允許用戶編輯內容,和實現自動換行顯示
class COwnEdit : public CEdit
{
// Construction
public:
COwnEdit();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COwnEdit)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~COwnEdit();
// Generated message map functions
protected:
CMenu* m_pMenu;
//{{AFX_MSG(COwnEdit)
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
afx_msg void OnCopy();
afx_msg void OnSelectAll();
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OWNEDIT_H__549E7241_5172_11D6_B545_00E04C104C2B__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -