wsdlg.h

来自「VC++高级编程技巧与示例」· C头文件 代码 · 共 57 行

H
57
字号
// WSDlg.h : header file
//

#if !defined(AFX_WSDLG_H__B5F72FEC_AECA_445B_8877_F2CB4838F56C__INCLUDED_)
#define AFX_WSDLG_H__B5F72FEC_AECA_445B_8877_F2CB4838F56C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CWSDlg dialog
#include "HLSock.h"
#include "PortDlg.h"	// Added by ClassView
class CWSDlg : public CDialog
{
// Construction
public:
	int m_NumMsg;
	CPortDlg m_PortDlg;
	CLSock * m_LSock;
	LRESULT OnClientTalking(WPARAM wParam,LPARAM lParam);
	LRESULT OnClientClose(WPARAM wParam,LPARAM lParam);
	CWSDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CWSDlg)
	enum { IDD = IDD_WS_DIALOG };
	CListBox	m_List1;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWSDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CWSDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_WSDLG_H__B5F72FEC_AECA_445B_8877_F2CB4838F56C__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?