?? keyedit.h
字號:
#if !defined(AFX_KEYEDIT_H__B7F7C051_BE2E_4F1E_BC5A_F3935B1D8E87__INCLUDED_)
#define AFX_KEYEDIT_H__B7F7C051_BE2E_4F1E_BC5A_F3935B1D8E87__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// KeyEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CKeyEdit window
class CKeyEdit : public CEdit
{
// Construction
public:
CKeyEdit();
// Attributes
public:
CFont m_font;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CKeyEdit)
public:
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CKeyEdit();
bool IsNumber; //是否只允許輸入小數(shù)
// Generated message map functions
protected:
//{{AFX_MSG(CKeyEdit)
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnKillfocus();
afx_msg void OnKillFocus(CWnd* pNewWnd);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnChange();
afx_msg void OnChar(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_KEYEDIT_H__B7F7C051_BE2E_4F1E_BC5A_F3935B1D8E87__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -