?? floatedit.h
字號:
#if !defined(AFX_FLOATEDIT_H__CD133853_687C_11D2_8364_0000210056C3__INCLUDED_)
#define AFX_FLOATEDIT_H__CD133853_687C_11D2_8364_0000210056C3__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// FloatEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFloatEdit window
class CFloatEdit : public CEdit
{
// Construction
public:
CFloatEdit();
// Attributes
public:
// Operations
public:
operator float();
float operator =(float f);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFloatEdit)
public:
virtual BOOL OnChildNotify(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pLResult);
virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
virtual void OnFinalRelease();
protected:
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void PreSubclassWindow();
virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CFloatEdit();
virtual WNDPROC* GetSuperWndProcAddr();
// Generated message map functions
protected:
//{{AFX_MSG(CFloatEdit)
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnChange();
//afx_msg void OnUpdate();
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnErrspace();
afx_msg void OnKillfocus();
afx_msg void OnMaxtext();
afx_msg void OnSetfocus();
afx_msg void OnClose();
afx_msg int OnCompareItem(int nIDCtl, LPCOMPAREITEMSTRUCT lpCompareItemStruct);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnKillFocus(CWnd* pNewWnd);
afx_msg void OnSetFocus(CWnd* pOldWnd);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FLOATEDIT_H__CD133853_687C_11D2_8364_0000210056C3__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -