基于gh0st的远程控制器
实现了终端管理、进程管理、窗口管理、桌面管理、文件管理、语音管理、视频管理、服务管理、注册表管理等功能。
This commit is contained in:
81
server/2015Remote/TrueColorToolBar.h
Normal file
81
server/2015Remote/TrueColorToolBar.h
Normal file
@@ -0,0 +1,81 @@
|
||||
/***=========================================================================
|
||||
==== ====
|
||||
==== D C U t i l i t y ====
|
||||
==== ====
|
||||
=============================================================================
|
||||
==== ====
|
||||
==== File name : TrueColorToolBar.h ====
|
||||
==== Project name : Tester ====
|
||||
==== Project number : --- ====
|
||||
==== Creation date : 13/1/2003 ====
|
||||
==== Author(s) : Dany Cantin ====
|
||||
==== ====
|
||||
==== Copyright ?DCUtility 2003 ====
|
||||
==== ====
|
||||
=============================================================================
|
||||
===========================================================================*/
|
||||
|
||||
|
||||
#ifndef TRUECOLORTOOLBAR_H_
|
||||
#define TRUECOLORTOOLBAR_H_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
|
||||
#include <afxtempl.h>
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CTrueColorToolBar
|
||||
|
||||
class CTrueColorToolBar : public CToolBar
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
CTrueColorToolBar();
|
||||
|
||||
// Attributes
|
||||
private:
|
||||
BOOL m_bDropDown;
|
||||
|
||||
struct stDropDownInfo {
|
||||
public:
|
||||
UINT uButtonID;
|
||||
UINT uMenuID;
|
||||
CWnd* pParent;
|
||||
};
|
||||
|
||||
CArray <stDropDownInfo, stDropDownInfo&> m_lstDropDownButton;
|
||||
|
||||
// Operations
|
||||
public:
|
||||
BOOL LoadTrueColorToolBar(int nBtnWidth,
|
||||
UINT uToolBar,
|
||||
UINT uToolBarHot = 0,
|
||||
UINT uToolBarDisabled = 0);
|
||||
|
||||
void AddDropDownButton(CWnd* pParent, UINT uButtonID, UINT uMenuID);
|
||||
|
||||
private:
|
||||
BOOL SetTrueColorToolBar(UINT uToolBarType,
|
||||
UINT uToolBar,
|
||||
int nBtnWidth);
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
virtual ~CTrueColorToolBar();
|
||||
|
||||
// Generated message map functions
|
||||
protected:
|
||||
afx_msg void OnToolbarDropDown(NMHDR * pnmh, LRESULT* plRes);
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // TRUECOLORTOOLBAR_H_
|
||||
Reference in New Issue
Block a user