MyCombo.h
资源名称:44757463.rar [点击查看]
上传用户:lj3531212
上传日期:2007-06-18
资源大小:346k
文件大小:2k
源码类别:
绘图程序
开发平台:
Visual C++
- #if !defined(AFX_MYCOMBO_H__377F89D8_FAE1_4692_9999_B382E0F80169__INCLUDED_)
- #define AFX_MYCOMBO_H__377F89D8_FAE1_4692_9999_B382E0F80169__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MyCombo.h : header file
- //
- #include "string.h"
- /////////////////////////////////////////////////////////////////////////////
- // CMyCombo window
- class CMyCombo : public CComboBox
- {
- // Construction
- public:
- CMyCombo();
- // Attributes
- public:
- // Operations
- public:
- BOOL IsNumber(CString str);
- CString GetNumberStr(CString str);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyCombo)
- public:
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CMyCombo();
- // Generated message map functions
- public:
- //{{AFX_MSG(CMyCombo)
- afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
- afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
- afx_msg void OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
- afx_msg void OnSysKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
- afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
- afx_msg void OnEditchange();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MYCOMBO_H__377F89D8_FAE1_4692_9999_B382E0F80169__INCLUDED_)