📄 connectdialog.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -