2019-01-05 20:21:43 +08:00
|
|
|
|
#pragma once
|
|
|
|
|
|
#include "IOCPServer.h"
|
|
|
|
|
|
#include "afxwin.h"
|
|
|
|
|
|
|
|
|
|
|
|
// CShellDlg <20>Ի<EFBFBD><D4BB><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
class CShellDlg : public CDialog
|
|
|
|
|
|
{
|
|
|
|
|
|
DECLARE_DYNAMIC(CShellDlg)
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
CShellDlg(CWnd* pParent = NULL, IOCPServer* IOCPServer = NULL, CONTEXT_OBJECT *ContextObject = NULL);
|
|
|
|
|
|
virtual ~CShellDlg();
|
|
|
|
|
|
CONTEXT_OBJECT* m_ContextObject;
|
|
|
|
|
|
IOCPServer* m_iocpServer;
|
2019-01-18 17:37:15 +08:00
|
|
|
|
VOID OnReceiveComplete();
|
2019-01-05 20:21:43 +08:00
|
|
|
|
HICON m_hIcon;
|
|
|
|
|
|
UINT m_nReceiveLength;
|
2019-01-18 17:37:15 +08:00
|
|
|
|
VOID AddKeyBoardData(void);
|
2019-01-05 20:21:43 +08:00
|
|
|
|
UINT m_nCurSel; //<2F><><EFBFBD>õ<EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>;
|
|
|
|
|
|
|
|
|
|
|
|
// <20>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
enum { IDD = IDD_DIALOG_SHELL };
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV ֧<><D6A7>
|
|
|
|
|
|
|
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
|
public:
|
|
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
|
|
afx_msg void OnClose();
|
|
|
|
|
|
CEdit m_Edit;
|
|
|
|
|
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
|
|
|
|
|
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
|
|
|
|
|
|
};
|