mfctalkdlg.h
来自「一个用VC写的停车场管理系统 带视频监控程控」· C头文件 代码 · 共 66 行
H
66 行
// MFCTALKDlg.h : header file
//
#if !defined(AFX_MFCTALKDLG_H__BB629B61_822E_4DFA_875B_C2088B87C77B__INCLUDED_)
#define AFX_MFCTALKDLG_H__BB629B61_822E_4DFA_875B_C2088B87C77B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "DataSocket.h"
#include "ListenScoket.h"
/////////////////////////////////////////////////////////////////////////////
// CMFCTALKDlg dialog
class CMFCTALKDlg : public CDialog
{
// Construction
public:
CMFCTALKDlg(CWnd* pParent = NULL); // standard constructor
void receive();
void acceptserver();
BOOL isServer;
CListenScoket m_listensocket;
CDataSocket m_serversocket;
CDataSocket m_clientsocket;
// Dialog Data
//{{AFX_DATA(CMFCTALKDlg)
enum { IDD = IDD_MFCTALK_DIALOG };
CButton m_createserver;
CButton m_connectionserver;
CString m_addr;
UINT m_cport;
UINT m_sport;
CString m_sendinfo;
CString m_showreceiveinfo;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMFCTALKDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMFCTALKDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnCreatesreverBtn();
afx_msg void OnConnectserverBtn();
afx_msg void OnSendBtn();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MFCTALKDLG_H__BB629B61_822E_4DFA_875B_C2088B87C77B__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?