connectdialog.h

来自「超强的图形界面聊天软件.rar」· C头文件 代码 · 共 63 行

H
63
字号
#if !defined(AFX_CONNECTDIALOG_H__70EBBCA9_F1C4_444E_A931_8F48CA738076__INCLUDED_)
#define AFX_CONNECTDIALOG_H__70EBBCA9_F1C4_444E_A931_8F48CA738076__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ConnectDialog.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CConnectDialog dialog
extern CString g_strServerName1; 
extern CString g_strServerIP1; 
extern CString g_strGetFile;
extern UINT GetRoomWinInetThreadProc(LPVOID pParam);

extern roomid;
extern CArray<serverInfo,serverInfo> SerArray;

class CConnectDialog : public CDialog
{
// Construction
public:
	CConnectDialog(CWnd* pParent = NULL);   // standard constructor
	CCriticalSection m_cs;
	CArray<WebServer,WebServer> m_WebList;

// Dialog Data
	//{{AFX_DATA(CConnectDialog)
	enum { IDD = IDD_DIALOG1 };
	CComboBox	m_ComSer;
	CListCtrl	m_RoomList;
	UINT	m_PortAddress;
	CString	m_ServerName;
	CString	m_strSelSer;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CConnectDialog)
	afx_msg void OnGetroomWeb();
	afx_msg void OnAcceptServer(UINT nID, LPARAM param);
	virtual BOOL OnInitDialog();
	afx_msg void OnClickRoomList(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CONNECTDIALOG_H__70EBBCA9_F1C4_444E_A931_8F48CA738076__INCLUDED_)

⌨️ 快捷键说明

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