ex126ClientDlg.h
资源名称:VC6.0.rar [点击查看]
上传用户:qdhmjx
上传日期:2022-07-11
资源大小:2226k
文件大小:1k
源码类别:
书籍源码
开发平台:
Visual C++
- // ex126ClientDlg.h : header file
- //
- #if !defined(AFX_EX126CLIENTDLG_H__2A0CB4D1_9397_4A71_A465_64880022824D__INCLUDED_)
- #define AFX_EX126CLIENTDLG_H__2A0CB4D1_9397_4A71_A465_64880022824D__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CEx126ClientDlg dialog
- #define BUFFER_SIZE 200
- class CChatSocket;
- class CEx126ClientDlg : public CDialog
- {
- // Construction
- public:
- void ProcessPendingRead();
- CEx126ClientDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CEx126ClientDlg)
- enum { IDD = IDD_EX126CLIENT_DIALOG };
- CListBox m_ctrlMsg;
- CString m_strMsg;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CEx126ClientDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CEx126ClientDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnSendmsg();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CString m_strClientName;
- void SendMsg(CString strMsg);
- CChatSocket* m_pSocket;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_EX126CLIENTDLG_H__2A0CB4D1_9397_4A71_A465_64880022824D__INCLUDED_)