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

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

?? pptooltip.h

?? 針對Excel表格文件操作的編程實現
?? 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一区二区三区免费野_久草精品视频
国产一区高清在线| 久久精品一区二区| 欧美男女性生活在线直播观看| 91视频你懂的| 欧美日韩高清一区二区| 精品美女一区二区| 最新中文字幕一区二区三区| 一区二区免费在线播放| 免费精品99久久国产综合精品| 国产不卡视频在线观看| 欧美熟乱第一页| 国产亚洲精品bt天堂精选| 亚洲激情自拍视频| 久热成人在线视频| 色综合天天综合网天天狠天天| 欧美日韩国产首页在线观看| 国产人成亚洲第一网站在线播放| 亚洲欧美区自拍先锋| 日韩不卡一区二区| 菠萝蜜视频在线观看一区| 日韩一区二区免费视频| 国产精品久久福利| 国产精品888| 欧美大白屁股肥臀xxxxxx| 亚洲小少妇裸体bbw| 国产91精品精华液一区二区三区 | 亚洲国产一二三| 国产精品综合二区| 精品国产露脸精彩对白| 美女视频黄久久| 在线电影国产精品| 亚瑟在线精品视频| 欧美性生交片4| 亚洲影院免费观看| 99re热视频精品| 亚洲欧美综合另类在线卡通| 国产一区二区三区蝌蚪| 亚洲精品在线电影| 亚洲女女做受ⅹxx高潮| 麻豆精品在线播放| 欧美mv和日韩mv国产网站| 日韩不卡一区二区三区| 精品国产sm最大网站免费看| 国内不卡的二区三区中文字幕 | 天天综合网 天天综合色| 欧美日韩精品福利| 精品系列免费在线观看| 中文字幕免费一区| 日本久久精品电影| 日韩av电影免费观看高清完整版 | 亚洲精品一二三四区| 一本久久精品一区二区| 日韩中文字幕一区二区三区| 欧美一区二区三区日韩视频| 国产一区二区免费视频| 亚洲国产精品99久久久久久久久| 色天天综合色天天久久| 亚州成人在线电影| 中文乱码免费一区二区| 欧美猛男超大videosgay| 国产一区二区视频在线| 亚洲国产一区二区三区| 国产无人区一区二区三区| 欧美中文字幕一区二区三区 | 久久色视频免费观看| 国产成人aaa| 免费国产亚洲视频| 亚洲激情在线播放| 国产日本欧洲亚洲| 久久日一线二线三线suv| 91精品国模一区二区三区| 91无套直看片红桃| gogo大胆日本视频一区| 美国毛片一区二区三区| 同产精品九九九| 自拍av一区二区三区| 国产农村妇女毛片精品久久麻豆 | 日韩电影在线一区二区三区| 亚洲国产日日夜夜| 久久99精品一区二区三区三区| 一区二区三区日韩在线观看| 亚洲男同性恋视频| 亚洲精品中文字幕在线观看| 中文字幕在线播放不卡一区| 国产亚洲欧美日韩日本| 国产亚洲精品7777| 亚洲日本成人在线观看| 亚洲日本丝袜连裤袜办公室| 亚洲精品视频在线观看免费| 亚洲综合无码一区二区| 午夜精品免费在线| 男人的天堂亚洲一区| 国产精品小仙女| 在线中文字幕一区二区| 欧美日韩免费一区二区三区| 欧美精品日日鲁夜夜添| 精品国产a毛片| 亚洲欧洲av在线| 蜜芽一区二区三区| 国产91对白在线观看九色| 色综合视频一区二区三区高清| 91精品中文字幕一区二区三区| 精品欧美久久久| 一区二区三区中文字幕在线观看| 秋霞av亚洲一区二区三| 99免费精品视频| 7777精品伊人久久久大香线蕉完整版 | 欧美激情一区二区三区| 国产精品久久久久久久岛一牛影视| 亚洲免费在线播放| 国产一区二区成人久久免费影院 | 亚洲视频1区2区| 久久超碰97中文字幕| 色婷婷综合五月| 国产欧美日韩久久| 美女一区二区视频| 欧美久久高跟鞋激| 尤物在线观看一区| 91亚洲午夜精品久久久久久| 欧美精品一区二区在线播放| 日本不卡一二三| 在线观看亚洲一区| 亚洲一区在线观看免费观看电影高清| 丁香桃色午夜亚洲一区二区三区| 日韩一区二区三区在线| 图片区小说区国产精品视频| 在线看国产一区二区| 亚洲精品美国一| 欧美综合在线视频| 午夜成人免费视频| 欧美日本在线播放| 青青草伊人久久| 日韩精品最新网址| 国产激情精品久久久第一区二区 | 日本高清视频一区二区| 一区二区在线观看av| 91国偷自产一区二区三区观看| 美女任你摸久久 | 成人网页在线观看| 《视频一区视频二区| 欧美日韩亚洲丝袜制服| 丝瓜av网站精品一区二区| 91精品国产免费久久综合| 国产一区二区导航在线播放| 中文字幕乱码日本亚洲一区二区 | 日韩伦理电影网| 欧美福利一区二区| 成人av电影在线网| 天天操天天综合网| 亚洲人吸女人奶水| 欧美精品一区二区三区一线天视频| 国产精品福利在线播放| 精品国产免费人成在线观看| 国产欧美一区二区精品性色超碰 | 久久影院午夜论| 91福利视频久久久久| 精品在线亚洲视频| 亚洲国产精品天堂| 久久精品一区二区三区不卡牛牛| 欧美日韩中文字幕一区| 成人激情免费网站| 麻豆极品一区二区三区| 天堂一区二区在线| 亚洲乱码中文字幕综合| 国产精品毛片无遮挡高清| 久久久精品人体av艺术| 欧美大片在线观看| 日韩一区二区在线播放| 日韩av电影天堂| 视频一区二区三区中文字幕| 亚洲精品日日夜夜| 亚洲一区免费在线观看| 亚洲精品国产一区二区精华液| 中文在线资源观看网站视频免费不卡| 欧美变态凌虐bdsm| 欧美成人激情免费网| 久久久av毛片精品| 国产精品网站一区| 亚洲老妇xxxxxx| 日韩电影一区二区三区四区| 国产在线精品一区二区夜色| 美女一区二区在线观看| 国产一区在线观看视频| 成人福利电影精品一区二区在线观看| 国产a级毛片一区| 色综合天天在线| 欧美日韩国产精选| 日韩一区二区三区视频在线| 久久色.com| 无吗不卡中文字幕| 成人av综合在线| 欧美视频完全免费看| 日韩欧美色综合| 亚洲免费在线视频| 捆绑调教美女网站视频一区| 91在线视频官网| 国产色综合一区| 视频一区免费在线观看| 成a人片亚洲日本久久| 欧美成人官网二区|