亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? pptooltip.h

?? 電力監控系統 實時告警處理程序
?? H
?? 第 1 頁 / 共 2 頁
字號:
/********************************************************************
	created:	2003/04/12
	created:	12:04:2003   10:50
	file base:	PPTooltip
	file ext:	h
	author:		Eugene Pustovoyt
	
	purpose:	
*********************************************************************/

#ifndef _PPTOOLTIP_H
#define _PPTOOLTIP_H

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PPToolTip.h : header file
//
#define PPTOOLTIP_USE_SHADE

#ifdef PPTOOLTIP_USE_SHADE
#include "CeXDib.h"
#endif

#define PPTOOLTIP_CLASSNAME    _T("CPPTooltip")  // Window class name

#define UDM_TOOLTIP_FIRST		   (WM_USER + 100)
#define UDM_TOOLTIP_DISPLAY		   (UDM_TOOLTIP_FIRST) //User was changed the data

//The styles
#define PPTOOLTIP_ANCHOR				0x00000001
#define PPTOOLTIP_SHADOW				0x00000002
#define PPTOOLTIP_ROUNDED				0x00000004
#define PPTOOLTIP_BALLOON				0x00000007
#define PPTOOLTIP_VCENTER_ALIGN			0x00000008
#define PPTOOLTIP_BOTTOM_ALIGN			0x00000010
#define PPTOOLTIP_ICON_VCENTER_ALIGN	0x00000020
#define PPTOOLTIP_ICON_BOTTOM_ALIGN		0x00000040
#define PPTOOLTIP_SHOW_INACTIVE			0x00000100 //Show tooltip for inacive window
#define PPTOOLTIP_SHOW_DISABLED			0x00000200 //Show tooltip for disabled control

//The behaviours
#define PPTOOLTIP_MULTIPLE_SHOW			0x00000001 //Multiple show for single control
#define PPTOOLTIP_TRACKING_MOUSE		0x00000002 //Tracking for mouse
#define PPTOOLTIP_CLOSE_LEAVEWND		0x00000004 //Close tooltip if mouse leave the control
#define PPTOOLTIP_NOCLOSE_OVER			0x00000008 //No close tooltip if mouse over him
#define PPTOOLTIP_DISABLE_AUTOPOP		0x00000010 //Disables autopop tooltip from timer

//#define PPTOOLTIP_NO_CLOSE_OVER		0x00000002 //No closes tooltip if the mouse over the control
//#define PPTOOLTIP_NO_CLOSE_MOVE		0x00000004 //No closes for any mouse's move.
//#define PPTOOLTIP_TRACK_MOUSE			0x00000008 //Tracking window for the mouse's move

//The masks
#define PPTOOLTIP_MASK_STYLES			0x0001	// The styles for the tooltip gets from the structures
#define PPTOOLTIP_MASK_EFFECT			0x0002	// The background's type for the tooltip gets from the structures
#define PPTOOLTIP_MASK_COLORS			0x0004	// The background's colors for the tooltip gets from the structures
#define PPTOOLTIP_MASK_DIRECTION		0x0008  // The align for the tooltip gets from the structures
#define PPTOOLTIP_MASK_BEHAVIOUR		0x0010  // The behaviour for the tooltip gets from the structures
//#define PPTOOLTIP_MASK_GRANULARITY		0x0010	// The effect's granularity

// This info structure
typedef struct tagPPTOOLTIP_INFO
{
    HWND		hWnd;			// Window handle of the control
    UINT		nIDTool;		// ID of tool   
    CRect		rectBounds;		// Bounding rect for toolinfo to be displayed
	HICON		hIcon;			// The icon of the tooltip
	CString		sTooltip;		// The string of the tooltip
	UINT        nMask;			// The mask 
	UINT		nStyles;		// The tooltip's styles
	UINT        nDirection;		// Direction display the tooltip relate cursor point
	UINT		nEffect;		// The color's type or effects
	UINT        nBehaviour;		// The tooltip's behaviour
	BYTE        nGranularity;	// The effect's granularity
	COLORREF	crBegin;		// Begin Color
	COLORREF    crMid;			// Mid Color
	COLORREF	crEnd;			// End Color
} PPTOOLTIP_INFO;

typedef struct tagPPTOOLTIP_NAME_RES
{
	CString sName;	// Name of the resource (IDB_ - Bitmap, IDI_ - Icon)
	UINT nID;		// ID of the resource 
	BYTE nTypeRes;	// TYPE_RES_ICON = Icon, TYPE_RES_BITMAP = bitmap, TYPE_RES_TRAN_BITMAP = transparent bitmap
	COLORREF crMask;// Color mask of the resource 
} PPTOOLTIP_NAME_RES;

// This structure sent to PPToolTip parent in a WM_NOTIFY message
typedef struct tagNM_PPTOOLTIP_DISPLAY {
    NMHDR hdr;
	CPoint * pt;
	PPTOOLTIP_INFO * ti;
} NM_PPTOOLTIP_DISPLAY;

/////////////////////////////////////////////////////////////////////////////
// CPPToolTip window

class CPPToolTip : public CWnd
{
// Construction
public:
	virtual BOOL Create(CWnd* pParentWnd, BOOL bBalloonSize = TRUE);
	CPPToolTip();
	virtual ~CPPToolTip();

// Attributes
public:
	enum {	PPTTSZ_ROUNDED_CX = 0,
			PPTTSZ_ROUNDED_CY,
			PPTTSZ_MARGIN_CX,
			PPTTSZ_MARGIN_CY,
			PPTTSZ_SHADOW_CX,
			PPTTSZ_SHADOW_CY,
			PPTTSZ_WIDTH_ANCHOR,
			PPTTSZ_HEIGHT_ANCHOR,
			PPTTSZ_MARGIN_ANCHOR,
			PPTTSZ_BORDER_CX,
			PPTTSZ_BORDER_CY,

			PPTTSZ_MAX_SIZES
		};

	enum {	TYPE_RES_ICON = 0,
			TYPE_RES_BITMAP,
			TYPE_RES_MASK_BITMAP,

			MAX_TYPES_RES
		};

	enum {	PPTOOLTIP_COLOR_0 = 0,
			PPTOOLTIP_COLOR_1,
			PPTOOLTIP_COLOR_2,
			PPTOOLTIP_COLOR_3,
			PPTOOLTIP_COLOR_4,
			PPTOOLTIP_COLOR_5,
			PPTOOLTIP_COLOR_6,
			PPTOOLTIP_COLOR_7,
			PPTOOLTIP_COLOR_8,
			PPTOOLTIP_COLOR_9,
			PPTOOLTIP_COLOR_10,
			PPTOOLTIP_COLOR_11,
			PPTOOLTIP_COLOR_12,
			PPTOOLTIP_COLOR_13,
			PPTOOLTIP_COLOR_14,
			PPTOOLTIP_COLOR_15,
			PPTOOLTIP_COLOR_16,
			PPTOOLTIP_COLOR_FG,
			PPTOOLTIP_COLOR_BK_BEGIN,
			PPTOOLTIP_COLOR_BK_MID,
			PPTOOLTIP_COLOR_BK_END,
			PPTOOLTIP_COLOR_LINK,		// Color for hyperlink text
			PPTOOLTIP_COLOR_VISITED,	// Color for visited hyperlink text
			PPTOOLTIP_COLOR_HOVER,		// Color for hover hyperlink text
			PPTOOLTIP_COLOR_SHADOW,		// Color for the shadow
			PPTOOLTIP_COLOR_BORDER,		// Color for border of the tooltip

			PPTOOLTIP_MAX_COLORS
		};

	enum {	PPTOOLTIP_LEFT_TOP = 0,
			PPTOOLTIP_RIGHT_TOP,
			PPTOOLTIP_LEFT_BOTTOM,
			PPTOOLTIP_RIGHT_BOTTOM,

			PPTOOLTIP_MAX_DIRECTIONS
		};

	enum {	PPTOOLTIP_EFFECT_SOLID = 0,
			PPTOOLTIP_EFFECT_HGRADIENT,
			PPTOOLTIP_EFFECT_VGRADIENT,
			PPTOOLTIP_EFFECT_HCGRADIENT,
			PPTOOLTIP_EFFECT_VCGRADIENT,
			PPTOOLTIP_EFFECT_3HGRADIENT,
			PPTOOLTIP_EFFECT_3VGRADIENT,
#ifdef PPTOOLTIP_USE_SHADE
			PPTOOLTIP_EFFECT_NOISE,
			PPTOOLTIP_EFFECT_DIAGSHADE,
			PPTOOLTIP_EFFECT_HSHADE,
			PPTOOLTIP_EFFECT_VSHADE,
			PPTOOLTIP_EFFECT_HBUMP,
			PPTOOLTIP_EFFECT_VBUMP,
			PPTOOLTIP_EFFECT_SOFTBUMP,
			PPTOOLTIP_EFFECT_HARDBUMP,
			PPTOOLTIP_EFFECT_METAL,
#endif
			PPTOOLTIP_MAX_EFFECTS
		};

protected:
	enum {	PPTOOLTIP_SHOW = 0x100, //the identifier of the timer for show the tooltip
			PPTOOLTIP_HIDE = 0x101  //the identifier of the timer for hide the tooltip
		};

	enum {	PPTOOLTIP_TOOL_NOEXIST = -1, //the current tool is not exist
			PPTOOLTIP_TOOL_HELPER = -2   //the current tool is a helper
		};

//	typedef CArray<PPTOOLTIP_HOTRECT, PPTOOLTIP_HOTRECT&> m_arrToolsWnd;
//	CMap <HWND, HWND, m_arrToolsWnd, m_arrToolsWnd&> m_mapTools;
	CArray<PPTOOLTIP_INFO, PPTOOLTIP_INFO> m_arrTools; //Tools Archive
	CArray<PPTOOLTIP_NAME_RES, PPTOOLTIP_NAME_RES> m_arrNameRes; //Names of the resource

	HWND   m_hNotifyWnd; // Handle to window for notification about change data
	CWnd * m_pParentWnd; // The pointer to the parent window
	UINT m_nLastDirection;
	CUIntArray m_nLengthLines; //The real length of the lines in the tooltip
	CUIntArray m_nHeightLines; //The real heigth of the lines in the tooltip

	int	m_nIndexCurrentWnd;
	int m_nIndexDisplayWnd;

    LOGFONT m_LogFont;                  // Current font in use

	//Default setting
	COLORREF m_crColor [PPTOOLTIP_MAX_COLORS]; //The indexing colors
	UINT m_nSizes [PPTTSZ_MAX_SIZES]; //All sizes 
	UINT m_nStyles;
	UINT m_nDirection;
	UINT m_nEffect;
	UINT m_nGranularity;
	UINT m_nBehaviour;	 //The tooltip's behaviour 

	UINT m_nTimeAutoPop; //Retrieve the length of time the tool tip window remains visible if the pointer is stationary within a tool's bounding rectangle
	UINT m_nTimeInitial; //Retrieve the length of time the pointer must remain stationary within a tool's bounding rectangle before the tool tip window appears

	//The properties of the current tooltip
	CPoint  m_ptOriginal;

	CRgn	m_rgnToolTip;
	CRgn    m_rgnShadow;

	CSize m_szToolIcon; //the size of the current icon
	CSize m_szTextTooltip; //the size of the tooltip's text

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久久久影院| 国产成人精品免费一区二区| 一区二区三区四区激情| 国产精品久久99| 成人欧美一区二区三区小说| 中文字幕av不卡| 成人欧美一区二区三区黑人麻豆 | 欧美日本在线一区| 欧美私模裸体表演在线观看| 欧美日韩中文字幕一区二区| 欧美色视频在线观看| 欧美久久久久久久久久| 欧美电影影音先锋| 日韩精品一区二区三区在线观看| 日韩一区二区在线看片| 日韩精品影音先锋| 久久精品欧美日韩| 中文字幕亚洲视频| 一区二区三区中文在线| 亚洲国产精品一区二区www| 亚洲一区二区美女| 青青草97国产精品免费观看 | 99久久精品免费观看| 91丝袜美腿高跟国产极品老师 | 久久久五月婷婷| 日本一区二区三区在线不卡| 国产精品少妇自拍| 亚洲免费在线电影| 首页国产欧美日韩丝袜| 久久99精品久久久久| 国产99久久久精品| 色菇凉天天综合网| 在线播放亚洲一区| 久久久www免费人成精品| 中文字幕在线不卡一区二区三区| 亚洲曰韩产成在线| 麻豆高清免费国产一区| 成人国产精品免费观看| 在线观看三级视频欧美| 欧美成人bangbros| 中文字幕一区二区三区在线播放 | 琪琪一区二区三区| 国产suv一区二区三区88区| 91久久精品国产91性色tv| 日韩一级精品视频在线观看| 日本一区二区三区在线不卡| 亚洲成av人综合在线观看| 国产乱码精品一区二区三区忘忧草| 99久久综合色| 日韩午夜精品视频| 亚洲视频一区二区免费在线观看| 日韩精品乱码免费| 不卡av免费在线观看| 欧美日韩夫妻久久| 国产精品久久毛片a| 日韩电影免费在线看| 不卡视频免费播放| 欧美一级理论性理论a| 成人免费在线视频| 国内精品伊人久久久久影院对白| 91福利视频网站| 国产视频在线观看一区二区三区 | 欧美96一区二区免费视频| 成人夜色视频网站在线观看| 337p亚洲精品色噜噜噜| 中文字幕在线一区免费| 精品一二三四区| 欧美三级三级三级爽爽爽| 国产精品网站在线播放| 蜜桃视频第一区免费观看| 欧美性一二三区| 国产精品乱人伦中文| 久久精品国产99国产精品| 欧美乱妇一区二区三区不卡视频| 18欧美乱大交hd1984| 懂色av一区二区夜夜嗨| 精品99久久久久久| 污片在线观看一区二区| 91麻豆蜜桃一区二区三区| 国产午夜亚洲精品午夜鲁丝片| 视频在线观看一区| 欧美亚洲自拍偷拍| 亚洲欧美影音先锋| 白白色亚洲国产精品| 国产丝袜美腿一区二区三区| 精品一区二区三区免费视频| 91精品国产福利| 午夜久久福利影院| 欧美午夜一区二区三区免费大片| 亚洲欧洲精品一区二区三区| 国产成人福利片| 久久精品一区蜜桃臀影院| 蜜臀国产一区二区三区在线播放 | 无吗不卡中文字幕| 在线免费视频一区二区| 综合精品久久久| 91亚洲精品一区二区乱码| 国产精品私人自拍| 成人v精品蜜桃久久一区| 欧美国产亚洲另类动漫| 国产成人亚洲综合a∨猫咪| 国产女主播在线一区二区| 国产精品996| 中文字幕乱码亚洲精品一区| 高清不卡在线观看av| 国产精品你懂的在线欣赏| 从欧美一区二区三区| 中文字幕va一区二区三区| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 国产一区二区三区黄视频| 26uuu另类欧美亚洲曰本| 国产精品影音先锋| 欧美国产日韩亚洲一区| 成人av高清在线| 日韩一区有码在线| 欧美亚洲高清一区二区三区不卡| 亚洲永久免费视频| 欧美日韩成人在线| 调教+趴+乳夹+国产+精品| 日韩午夜中文字幕| 国产一区二区不卡| 中文成人综合网| av动漫一区二区| 亚洲一卡二卡三卡四卡| 欧美精品第一页| 精品一区二区在线观看| 国产日韩欧美制服另类| 91亚洲精品久久久蜜桃网站 | 麻豆成人久久精品二区三区红 | 精品剧情在线观看| 国产激情视频一区二区在线观看 | www.亚洲在线| 一区二区欧美国产| 日韩免费在线观看| 成人丝袜18视频在线观看| 玉米视频成人免费看| 欧美一区二区三区在线电影| 国产专区欧美精品| 亚洲视频网在线直播| 欧美疯狂做受xxxx富婆| 国产一区二区三区香蕉| 中文字幕亚洲欧美在线不卡| 欧美妇女性影城| 国产成人精品三级| 午夜婷婷国产麻豆精品| 亚洲精品在线免费播放| 一本在线高清不卡dvd| 日韩av二区在线播放| 中文字幕一区二区在线观看 | 亚洲一区二区三区四区五区黄 | 午夜精品久久久久久久| 久久精品人人做人人爽人人| 欧美中文字幕一区二区三区 | 成人性色生活片| 亚洲成人激情综合网| 国产色91在线| 欧美三级日本三级少妇99| 国产一区二区不卡在线| 亚洲成人三级小说| 欧美国产精品专区| 欧美一区二区视频在线观看| 99re视频这里只有精品| 紧缚捆绑精品一区二区| 亚洲综合一二区| 国产农村妇女毛片精品久久麻豆| 欧美高清视频在线高清观看mv色露露十八 | 日韩电影免费一区| 亚洲图片欧美激情| 久久免费午夜影院| 777色狠狠一区二区三区| av高清不卡在线| 国产精品一区久久久久| 天堂精品中文字幕在线| 亚洲欧洲精品成人久久奇米网| 日韩欧美亚洲另类制服综合在线| 91福利精品第一导航| 成人免费视频视频| 久久99精品一区二区三区| 午夜天堂影视香蕉久久| 亚洲伦理在线精品| 国产精品女人毛片| 国产日韩欧美一区二区三区乱码| 欧美一级黄色录像| 欧美日韩国产免费| 91国在线观看| 91亚洲资源网| 99久久伊人网影院| 国产.欧美.日韩| 国产精品66部| 国内外成人在线| 极品尤物av久久免费看| 免费在线观看不卡| 日韩制服丝袜av| 亚洲亚洲精品在线观看| 一区二区在线免费观看| 亚洲婷婷综合色高清在线| 国产精品久久久久aaaa樱花| 国产欧美日本一区视频| 久久久亚洲精品石原莉奈| www国产精品av|