📄 servercontrol.h
字号:
#if !defined(AFX_SERVERCONTROL_H__9E6FAB0A_1E6E_474C_BDD3_C07D3AD8CD43__INCLUDED_)
#define AFX_SERVERCONTROL_H__9E6FAB0A_1E6E_474C_BDD3_C07D3AD8CD43__INCLUDED_
#include "RMTool.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ServerControl.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CServerControl dialog
class CServerControl : public CDialog
{
// Construction
public:
BOOL RefreshSomeItem(WORD port, BOOL connect);
int m_nPrevWidth;
int m_nPrevHeight;
CRITICAL_SECTION m_criNotice;
char m_ContinueNoticePacket[ 2048 ]; //傍瘤 矫埃付促 焊尘锭 秦寸 傍瘤甫 历厘且 Packet
int m_ContinueNoticePacketLength; //傍瘤 矫埃付促 焊尘锭 秦寸 傍瘤甫 历厘且 Packet 辨捞
DWORD GetConnection();
void MoveToAllEachServer(int nServerType);
void MoveToSelectEachServer(int nServerType);
void CountConnectServer();
BOOL m_bCloseBatch; //辑滚 老褒累诀吝烙阑 钎矫窍绰 阂屈 函荐
void InsertSelectedServer(ServerInfo* pInfo, int i);
BOOL CheckSameServer(DWORD dwPort);
CRMToolApp *m_pApp;
void RefreshServerList();
CServerControl(CWnd* pParent = NULL); // standard constructor
~CServerControl();
// Dialog Data
//{{AFX_DATA(CServerControl)
enum { IDD = IDD_VIEW_SERVER_CONTROL };
CEdit c_NoticeMsg;
CEdit c_WeatherAmount;
CSpinButtonCtrl c_Weather;
CSpinButtonCtrl c_Notice;
CSpinButtonCtrl c_MaxUser;
CSpinButtonCtrl c_TryToConnect;
CListCtrl c_AllList;
CListCtrl c_SelectList;
BOOL m_CheckDBDemon;
BOOL m_CheckMap;
BOOL m_CheckAgent;
UINT m_TryToConnect;
UINT m_MaxUser;
BOOL m_UserAccept;
BOOL m_CheckNotice;
UINT m_NoticeSec;
CString m_szNotice;
int m_RadioWeather;
UINT m_WeatherAmount;
BOOL m_CheckStopWeather;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CServerControl)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CServerControl)
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
virtual BOOL OnInitDialog();
afx_msg void OnRightAll();
afx_msg void OnLeft();
afx_msg void OnRight();
afx_msg void OnLeftAll();
afx_msg void OnColumnclickSelectServerList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnColumnclickAllServerList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnCheckAgent();
afx_msg void OnCheckDbdemon();
afx_msg void OnCheckMap();
afx_msg void OnReloadData();
afx_msg void OnProxyControlApply();
afx_msg void OnNoticeSend();
afx_msg void OnCheckNotice();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnWeatherApply();
afx_msg void OnRadioWeather2();
afx_msg void OnRadioWeather3();
afx_msg void OnRadioWeather();
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
afx_msg void OnCustomDrawAll(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnCustomDrawSelect(NMHDR* pNMHDR, LRESULT* pResult);
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SERVERCONTROL_H__9E6FAB0A_1E6E_474C_BDD3_C07D3AD8CD43__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -