Improvement: #72 Input command is always at the end of Shelldlg

This commit is contained in:
yuanyuanxiang
2025-04-06 16:23:10 +08:00
parent 13288b5c4e
commit 9475e59887
4 changed files with 62 additions and 5 deletions

View File

@@ -2,6 +2,14 @@
#include "IOCPServer.h"
#include "afxwin.h"
// <20><><EFBFBD>۹<EFBFBD><DBB9><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>dz<EFBFBD><C7B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD>ĩβ
class CAutoEndEdit : public CEdit {
public:
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
DECLARE_MESSAGE_MAP()
};
// CShellDlg <20>Ի<EFBFBD><D4BB><EFBFBD>
class CShellDlg : public CDialog
@@ -29,7 +37,8 @@ protected:
public:
virtual BOOL OnInitDialog();
afx_msg void OnClose();
CEdit m_Edit;
CAutoEndEdit m_Edit;
virtual BOOL PreTranslateMessage(MSG* pMsg);
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnSize(UINT nType, int cx, int cy);
};