Files
SimpleRemoter/server/2015Remote/ServicesDlg.h
2025-06-28 20:05:45 +02:00

45 lines
1.2 KiB
C++

#pragma once
#include "afxcmn.h"
#include "IOCPServer.h"
#include "afxwin.h"
// CServicesDlg 对话框
class CServicesDlg : public DialogBase
{
DECLARE_DYNAMIC(CServicesDlg)
public:
CServicesDlg(CWnd* pParent = NULL, IOCPServer* IOCPServer = NULL, CONTEXT_OBJECT *ContextObject = NULL); // 标准构造函数
virtual ~CServicesDlg();
int ShowServicesList(void);
void OnReceiveComplete(void);
void ServicesConfig(BYTE bCmd);
// 对话框数据
enum { IDD = IDD_DIALOG_SERVICES };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
CListCtrl m_ControlList;
virtual BOOL OnInitDialog();
void DeleteAllItems();
void SortByColumn(int nColumn);
afx_msg VOID OnHdnItemclickList(NMHDR* pNMHDR, LRESULT* pResult);
static int CALLBACK CompareFunction(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort);
CStatic m_ServicesCount;
afx_msg void OnClose();
afx_msg void OnServicesAuto();
afx_msg void OnServicesManual();
afx_msg void OnServicesStop();
afx_msg void OnServicesStart();
afx_msg void OnServicesReflash();
afx_msg void OnNMRClickList(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnSize(UINT nType, int cx, int cy);
};