#if !defined(AFX_FLOATEDIT_H__E237300B_89B3_471F_9B02_1296928961CA__INCLUDED_) #define AFX_FLOATEDIT_H__E237300B_89B3_471F_9B02_1296928961CA__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: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CFloatEdit) //}}AFX_VIRTUAL // Implementation public: void SetDecLimitLen(int iDecLimitLen); void SetIntLimitLen(int iIntLimitLen); void SetIsMinus(BOOL bIsMinus = TRUE); virtual ~CFloatEdit(); // Generated message map functions protected: //{{AFX_MSG(CFloatEdit) afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags); afx_msg void OnKillfocus(); afx_msg void OnSetfocus(); afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: int m_iIntLimitLen; int m_iDecLimitLen; BOOL m_bIsMinus; }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_FLOATEDIT_H__E237300B_89B3_471F_9B02_1296928961CA__INCLUDED_)