#pragma once #include "common.h" class CEditWFocus : public CEdit { DECLARE_MESSAGE_MAP() public: CEditWFocus(); virtual ~CEditWFocus(); protected: afx_msg void OnKillFocus(CWnd* pNewWnd); afx_msg void OnSetFocus(CWnd* pOldWnd); };