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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? pptooltip.h

?? 針對(duì)Excel表格文件操作的編程實(shí)現(xiàn)
?? H
?? 第 1 頁 / 共 2 頁
字號(hào):
	CImageList m_imgTooltip; //the image list 
	CSize m_szImage;

	PPTOOLTIP_INFO m_pToolInfo; //info of the current tooltip

#ifdef PPTOOLTIP_USE_SHADE
	void SetShade(CRect rect, UINT shadeID = 0, BYTE granularity = 8, BYTE coloring = 0, COLORREF color = 0);
	CCeXDib m_dNormal,m_dh,m_dv;
#endif


// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPPToolTip)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	//}}AFX_VIRTUAL

// Implementation
public:
	//Functions for the styles
	void  SetStyles(DWORD nStyles, int nIndexTool = PPTOOLTIP_TOOL_NOEXIST); //Sets New Style
	void  ModifyStyles(DWORD nAddStyles, DWORD nRemoveStyles, int nIndexTool = PPTOOLTIP_TOOL_NOEXIST); //Modifies styles
	DWORD GetStyles(int nIndexTool = PPTOOLTIP_TOOL_NOEXIST); //Gets current Styles
	void  SetDefaultStyles(int nIndexTool = PPTOOLTIP_TOOL_NOEXIST); //Sets default styles

	//functions for color
	void SetColor(int nIndex, COLORREF crColor); //Sets the color
	COLORREF GetColor(int nIndex); //Gets the color
	void SetDefaultColors(); //Sets default colors
	void SetGradientColors(COLORREF crBegin, COLORREF crMid, COLORREF crEnd, int nIndexTool = PPTOOLTIP_TOOL_NOEXIST); //Sets the gradient's colors
	void GetGradientColors(COLORREF & crBegin, COLORREF & crMid, COLORREF & crEnd, int nIndexTool = PPTOOLTIP_TOOL_NOEXIST); //Gets the gradient's colors

	//functions for tool
	void AddTool(CWnd * pWnd, UINT nIdText, HICON hIcon = NULL, LPCRECT lpRectTool = NULL, UINT nIDTool = 0); //Adds tool
	void AddTool(CWnd * pWnd, UINT nIdText, UINT nIdIcon, CSize szIcon = CSize(0, 0), LPCRECT lpRectTool = NULL, UINT nIDTool = 0); //Adds tool
	void AddTool(CWnd * pWnd, CString sTooltipText, HICON hIcon = NULL, LPCRECT lpRectTool = NULL, UINT nIDTool = 0); //Adds tool
	void AddTool(CWnd * pWnd, CString sTooltipText, UINT nIdIcon, CSize szIcon = CSize(0, 0), LPCRECT lpRectTool = NULL, UINT nIDTool = 0); //Adds tool
	void AddTool(PPTOOLTIP_INFO ti); //Adds tool
	int  FindTool(CPoint & pt);
	int  FindTool(CWnd * pWnd, LPCRECT lpRect = NULL);
	int  FindTool(UINT nIDTool);
	BOOL GetTool(int nIndexTool, PPTOOLTIP_INFO & ti);
	BOOL RemoveTool(int nIndexTool);  //Removes specified tool
	void RemoveAllTools(); // Removes all tools
	BOOL IsExistTool(int nIndexTool);
	void SetAtTool(int nIndexTool, PPTOOLTIP_INFO & ti);

	//Functions for resources name
	void AddNameOfResource(CString sName, UINT nID, BYTE nTypeRes = TYPE_RES_MASK_BITMAP, COLORREF crMask = RGB(255, 0, 255));
	int  FindIdOfResource(CString sName);
	int  FindNameOfResource(UINT nID);
	void RemoveNameOfResource(int nIndex);
	void RemoveAllNamesOfResource();

	//Functions for images
	void SetImageList(UINT nIdBitmap, int cx, int cy, int nCount, COLORREF crMask = RGB(255, 0, 255));
	void SetImageList(HBITMAP hBitmap, int cx, int cy, int nCount, COLORREF crMask = RGB(255, 0, 255));
	CImageList * GetImageList(CSize & sz);

	//Functions for mask
	void  SetMaskTool(int nIndexTool, UINT nMask = 0);
	void  ModifyMaskTool(int nIndexTool, UINT nAddMask, UINT nRemoveMask);
	UINT  GetMaskTool(int nIndexTool);

	//functions for effects
	void SetEffectBk(UINT nEffect, BYTE nGranularity = 2, int nIndexTool = PPTOOLTIP_TOOL_NOEXIST);
	UINT GetEffectBk(int nIndexTool = PPTOOLTIP_TOOL_NOEXIST);
	UINT GetEffectBk(BYTE & nGranularity, int nIndexTool = PPTOOLTIP_TOOL_NOEXIST);

	//functions for
	void  SetNotify(HWND hWnd);
	void  SetNotify(BOOL bParentNotify = TRUE);
	BOOL  GetNotify(); //Is enabled notification

	//functions for delay
	void SetDelayTime(DWORD dwDuration, UINT nTime);
	UINT GetDelayTime(DWORD dwDuration) const;

	//functions for sizes
	void SetSize(int nSizeIndex, UINT nValue);
	UINT GetSize(int nSizeIndex);
	void SetDefaultSizes(BOOL bBalloonSize = TRUE);

	//functions for direction
	void SetDirection(UINT nDirection = PPTOOLTIP_RIGHT_BOTTOM, int nIndex = PPTOOLTIP_TOOL_NOEXIST);
	UINT GetDirection(int nIndexTool = PPTOOLTIP_TOOL_NOEXIST);

	// 
	void SetBehaviour(UINT nBehaviour = 0, int nIndexTool = PPTOOLTIP_TOOL_NOEXIST);
	UINT GetBehaviour(int nIndexTool = PPTOOLTIP_TOOL_NOEXIST);
//	void SetMultipleShow(BOOL bMultiple = TRUE, CWnd * pWnd = NULL);
//	BOOL IsMultipleShow(CWnd * pWnd = NULL);

	//Functions for the fonts
	BOOL  SetFont(CFont & font); //set font
	BOOL  SetFont(LPLOGFONT lf); //set font
	BOOL  SetFont(LPCTSTR lpszFaceName, int nSizePoints = 8,
									BOOL bUnderline = FALSE, BOOL bBold = FALSE,
									BOOL bStrikeOut = FALSE, BOOL bItalic = FALSE); //set font
	void  SetDefaultFont(); //set default fonts
	void  GetFont(CFont & font);
	void  GetFont(LPLOGFONT lf);

	void RelayEvent(MSG* pMsg);

	//The help tooltip functions
	void ShowHelpTooltip(CPoint & pt, UINT nIdText, HICON hIcon = NULL); //show tooltip as helper
	void ShowHelpTooltip(CPoint & pt, UINT nIdText, UINT nIdIcon); //show tooltip as helper
	void ShowHelpTooltip(CPoint & pt, CString sTooltipText, HICON hIcon = NULL); //show tooltip as helper
	void ShowHelpTooltip(CPoint & pt, CString sTooltipText, UINT nIdIcon); //show tooltip as helper
	void ShowHelpTooltip(CPoint & pt, PPTOOLTIP_INFO & ti); //show tooltip as helper

	static short GetVersionI()		{return 0x14;}
	static LPCTSTR GetVersionC()	{return (LPCTSTR)_T("1.4");}
	// Generated message map functions
protected:
	void KillTimers(UINT nIDTimer = NULL);
	
	CSize PrintTitleString(CDC * pDC, CRect rect, CString str, BOOL bCalculate = TRUE); //Prints the title string
	void  DrawHorzLine(CDC * pDC, int xStart, int xEnd, int y) const;

	void PrepareDisplayToolTip(CPoint * pt); //Notifying parent, Determines the size of tooltip's rect
	void DisplayToolTip(CPoint * pt, CRect * rect);
	
	void SetNewToolTip(int nIndexTool, BOOL bWithDelay = TRUE);
	void Pop();

	BOOL IsEnabledIndexTool(int nIndex);
	BOOL IsCursorInToolTip() const;
	inline BOOL IsVisible() const { return ((GetStyle() & WS_VISIBLE) == WS_VISIBLE); }

	CSize GetTooltipSize(CString str); //Gets max rectangle for display tooltip text
	CSize GetSizeIcon(HICON hIcon) const;
	void CalculateInfoBoxRect(CPoint * pt, CRect * rect);

	CString SearchBeginOfTag(CString & str, int & nIndex);
	void SearchEndOfTag(CString & str, int & nIndex);
	CString GetNameOfTag(CString & str, int & nIndex);
	CString GetPropertiesOfTag(CString & str, int & nIndex);
	CString GetStringValue(CString & str, int & nIndex);
	UINT GetUIntValue(CString & str, int & nIndex, UINT nDefValue);

	LPLOGFONT GetSystemToolTipFont() const;

	int   GetNextHorizDirection(int nDirection) const;
	int   GetNextVertDirection(int nDirection) const;
	BOOL  TestHorizDirection(int x, int cx, int w_cx, int nDirection, LPRECT rect) const;
	BOOL  TestVertDirection(int y, int cy, int w_cy, int nDirection, LPRECT rect) const;

	CRect GetWindowRegion(CRgn * rgn, CSize sz, CPoint pt);
	void  FillGradient(CDC * pDC, CRect rect, COLORREF colorStart, COLORREF colorFinish, BOOL bHorz = TRUE);

	LRESULT SendNotify(CPoint * pt, PPTOOLTIP_INFO & ti);

	void  OnRedrawClient(CDC * pDC);
	void  OnDraw(CDC * pDC, CRect rect);
	void  OnDrawBackground(CDC * pDC, CRect * pRect);
	void  OnDrawShadow(CDC * pDC);
		
	CSize DrawIconFromImageList(CDC * pDC, CPoint pt, CSize sz, CImageList & img, int nIndex = 0, BOOL bCalculate = TRUE);
	CSize DrawResource(CString sName, CDC * pDC, CPoint pt, int nMaxHeight, CSize szResource, BOOL bCalculate);
	CSize DrawBitmap(CDC * pDC, CPoint pt, int nMaxHeight, UINT nID, BOOL bUseMask, COLORREF crMask, CSize szBitmap, BOOL bCalculate);
	CSize DrawIcon(CDC * pDC, CPoint pt, int nMaxHeight, UINT nID, CSize szIcon, BOOL bCalculate);

	HWND GetWndFromPoint(CPoint & pt, BOOL bGetDisabled = TRUE) const;

//	HICON GetIconFromResources(CString sResName, CSize szIcon = CSize(0, 0)) const;
	HICON GetIconFromResources(UINT nID, CSize szIcon = CSize(0, 0)) const;
	HBITMAP GetBitmapFromResources(UINT nID) const;

	//{{AFX_MSG(CPPToolTip)
	afx_msg void OnPaint();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnDestroy();
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif










































?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久激情五月激情| 日韩欧美国产精品一区| 色婷婷激情一区二区三区| 在线观看国产一区二区| 欧美精品一卡二卡| 久久久综合视频| 亚洲天堂中文字幕| 毛片av一区二区| 粉嫩欧美一区二区三区高清影视| 国产精品高潮呻吟| 亚洲国产精品视频| 国产成人鲁色资源国产91色综| 在线观看免费亚洲| 久久久777精品电影网影网| 日本中文字幕一区| 国产一区二区三区四区五区入口| 成人av网站免费| 欧美日韩精品福利| 国产精品少妇自拍| 日本成人在线电影网| 成人网男人的天堂| 3atv一区二区三区| 国产精品久久久久影院老司| 日本va欧美va欧美va精品| 成人精品免费看| 91精品国产麻豆国产自产在线| 亚洲国产成人自拍| 免费看黄色91| 色婷婷综合久久久中文一区二区| 欧美va天堂va视频va在线| 亚洲欧洲av在线| 黄网站免费久久| 欧美日韩精品一区二区三区四区| 久久精品欧美一区二区三区不卡| 午夜精品视频一区| 成人综合婷婷国产精品久久蜜臀| 欧美一区中文字幕| 一区二区三区在线视频免费 | 91精品午夜视频| 亚洲欧美自拍偷拍色图| 日韩欧美激情一区| 亚洲精品国产第一综合99久久| 狠狠色丁香久久婷婷综合_中| 欧美日韩国产欧美日美国产精品| 国产精品免费看片| 国产精品一二三四| 精品免费视频.| 视频在线观看91| 色猫猫国产区一区二在线视频| 国产日产精品1区| 精品中文av资源站在线观看| 欧美精品成人一区二区三区四区| 亚洲天天做日日做天天谢日日欢 | 久久人人97超碰com| 五月天一区二区三区| 色噜噜狠狠色综合欧洲selulu| 亚洲国产精品v| 国产凹凸在线观看一区二区| 精品国产91久久久久久久妲己| 日韩和欧美一区二区| 欧美日韩一二三| 亚洲午夜国产一区99re久久| 在线欧美日韩精品| 一区二区三区四区不卡在线| 99国产一区二区三精品乱码| 中文字幕第一页久久| 国产1区2区3区精品美女| 国产日韩欧美精品在线| 国产成人精品免费一区二区| 久久综合久久综合久久综合| 精油按摩中文字幕久久| 日韩欧美国产一区二区在线播放| 日本aⅴ亚洲精品中文乱码| 91色婷婷久久久久合中文| 精品国产露脸精彩对白| 人禽交欧美网站| 日韩视频免费观看高清完整版在线观看 | 亚洲免费大片在线观看| 99久久久精品| 日韩伦理av电影| 91麻豆免费在线观看| 亚洲欧洲综合另类在线 | 亚洲成人av一区二区三区| 欧美日韩免费一区二区三区视频| 亚洲电影激情视频网站| 在线成人免费视频| 蜜桃一区二区三区四区| 精品国产精品一区二区夜夜嗨| 国产一区二区在线免费观看| 国产欧美日韩精品一区| 成人sese在线| 亚洲精品写真福利| 欧美日韩精品欧美日韩精品 | 日韩视频免费观看高清完整版| 久久国产剧场电影| 一区二区三区欧美日| 91香蕉视频黄| 亚洲综合网站在线观看| 欧美精品久久天天躁| 麻豆91在线观看| 欧美国产精品v| 99精品视频一区| 亚洲黄色录像片| 欧美丰满嫩嫩电影| 国产精品一二三| 亚洲免费视频成人| 日韩丝袜美女视频| 高清shemale亚洲人妖| 亚洲精品日韩一| 欧美一卡二卡在线| 国产成人免费9x9x人网站视频| 亚洲另类在线视频| 欧美一区国产二区| 岛国精品在线播放| 亚洲国产成人tv| 久久久国产综合精品女国产盗摄| 91在线观看下载| 日韩av中文字幕一区二区三区| 国产日韩欧美综合在线| 欧美日韩国产成人在线免费| 国模少妇一区二区三区| 亚洲免费三区一区二区| 欧美mv和日韩mv的网站| 99久久99久久精品免费观看| 青草国产精品久久久久久| 国产精品欧美久久久久无广告 | 在线亚洲免费视频| 久久精品国产精品亚洲精品| 国产精品久久久久久久久晋中| 欧美日韩国产成人在线免费| 成人综合在线观看| 日本欧美一区二区三区| 国产精品福利电影一区二区三区四区 | 国产清纯美女被跳蛋高潮一区二区久久w| 91天堂素人约啪| 精品亚洲欧美一区| 亚洲一区二区三区四区在线免费观看 | 亚洲成va人在线观看| 国产偷国产偷精品高清尤物 | 久久精品国内一区二区三区| 日韩美女精品在线| 久久亚洲一级片| 欧美美女bb生活片| av亚洲精华国产精华精华| 男女激情视频一区| 一区二区三区久久| 国产精品久久午夜夜伦鲁鲁| 欧美大片在线观看| 欧美日本一区二区三区四区| 99视频超级精品| 国产一区激情在线| 玖玖九九国产精品| 日韩经典一区二区| 亚洲午夜日本在线观看| 136国产福利精品导航| 久久精品男人天堂av| 欧美va亚洲va| 久久99精品久久久久婷婷| 欧洲人成人精品| 成人在线综合网站| 国产一区二区视频在线| 午夜精品久久久久久久久久| 17c精品麻豆一区二区免费| 久久精品欧美日韩| 日韩免费成人网| 9191久久久久久久久久久| 色噜噜狠狠色综合中国| 91色乱码一区二区三区| 99精品视频在线观看| 不卡高清视频专区| 粉嫩蜜臀av国产精品网站| 精品一区二区三区免费视频| 天堂成人国产精品一区| 亚洲成va人在线观看| 亚洲午夜视频在线观看| 一区二区三区**美女毛片| 亚洲男人电影天堂| 亚洲精品菠萝久久久久久久| 一区在线播放视频| 亚洲天堂a在线| 1000部国产精品成人观看| 国产精品理论片在线观看| 国产精品国产三级国产aⅴ入口| 久久久91精品国产一区二区三区| 久久九九久精品国产免费直播| 国产亚洲欧美一级| 国产亚洲美州欧州综合国| 日本一区二区三区电影| 国产日韩精品一区| 欧美激情在线一区二区三区| 国产精品色呦呦| 日韩一区中文字幕| 亚洲制服欧美中文字幕中文字幕| 亚洲国产精品久久人人爱蜜臀| 午夜欧美大尺度福利影院在线看| 三级亚洲高清视频| 亚洲亚洲精品在线观看| 一区二区三区美女| 亚洲不卡一区二区三区| 日产欧产美韩系列久久99|