www.pudn.com > Shutdown.rar > Y_Cls_Edit_.h
#if !defined(AFX_Y_CLS_EDIT__H__9CC01884_A1AA_4523_B95F_10F51F3D9A5A__INCLUDED_)
#define AFX_Y_CLS_EDIT__H__9CC01884_A1AA_4523_B95F_10F51F3D9A5A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Y_Cls_Edit_.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// Y_Cls_Edit_ window
class Y_Cls_Edit_ : public CEdit
{
// Construction
public:
Y_Cls_Edit_();
// Attributes
public:
int m_character_ctrl; //输入字符标志位1为有效字符,0为无效字符
int m_MoveStyle;//回车后移动方式,1向右,2向下
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(Y_Cls_Edit_)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
protected:
CRect m_rect;
CPoint m_pt;
LPARAM m_lp;
// Implementation
public:
virtual ~Y_Cls_Edit_();
// Generated message map functions
protected:
//{{AFX_MSG(Y_Cls_Edit_)
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnUpdate();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_Y_CLS_EDIT__H__9CC01884_A1AA_4523_B95F_10F51F3D9A5A__INCLUDED_)