PPTooltip.h
资源名称:MiniCA2.rar [点击查看]
上传用户:dengkfang
上传日期:2008-12-30
资源大小:5233k
文件大小:17k
源码类别:
CA认证
开发平台:
Visual C++
- //
- // Class: CPPTooltip
- //
- // Compiler: Visual C++
- // Tested on: Visual C++ 6.0
- // Visual C++ .NET 2003
- //
- // Version: See GetVersionC() or GetVersionI()
- //
- // Created: xx/xxxx/2004
- // Updated: 21/November/2004
- //
- // Author: Eugene Pustovoyt pustovoyt@mail.ru
- //
- // Disclaimer
- // ----------
- // THIS SOFTWARE AND THE ACCOMPANYING FILES ARE DISTRIBUTED "AS IS" AND WITHOUT
- // ANY WARRANTIES WHETHER EXPRESSED OR IMPLIED. NO REPONSIBILITIES FOR POSSIBLE
- // DAMAGES OR EVEN FUNCTIONALITY CAN BE TAKEN. THE USER MUST ASSUME THE ENTIRE
- // RISK OF USING THIS SOFTWARE.
- //
- // Terms of use
- // ------------
- // THIS SOFTWARE IS FREE FOR PERSONAL USE OR FREEWARE APPLICATIONS.
- // IF YOU WISH TO THANK MY WORK, YOU MAY DONATE ANY SUM OF MONEY TO ME
- // FOR SUPPORT OF DEVELOPMENT OF THIS CLASS.
- // IF YOU USE THIS SOFTWARE IN COMMERCIAL OR SHAREWARE APPLICATIONS YOU
- // ARE GENTLY ASKED TO DONATE ANY SUM OF MONEY TO THE AUTHOR:
- //
- //
- //--- History ------------------------------
- // 2004/03/01 *** Releases version 2.0 ***
- //------------------------------------------
- // 2004/04/04 [ADD] Added method SetCssStyles(DWORD dwIdCssStyle, LPCTSTR lpszPathDll /* = NULL */)
- // 2004/04/14 [FIX] Fixed correct drawing for some tooltip's directions
- // 2004/04/15 [FIX] Fixed changing a z-order of the some windows by show a tooltip on Win9x
- // 2004/04/27 [FIX] Corrected a work with a tooltip's directions with a large tooltip
- // 2004/04/28 [ADD] Disables a message translation if object was't created (thanks to Stoil Todorov)
- // 2004/07/02 [UPD] Changes a GetWndFromPoint mechanism of the window's searching
- // 2004/09/01 [ADD] New SetMaxTipWidth method was added
- // 2004/10/12 [FIX] Now a tooltip has a different methods to show a menu's tooltip and other
- // control's tooltip
- //------------------------------------------
- // 2004/11/19 *** Releases version 2.1 ***
- //------------------------------------------
- // 2004/11/30 [FIX] Corrected the debug window drawing
- // [FIX] Changes a GetWndFromPoint mechanism of the window's searching
- ////////////////////////////////////////////////////////////////////
- //
- // "SmoothMaskImage" and "GetPartialSums" functions by Denis Sarazhinsky (c)2003
- // Modified by Eugene Pustovoyt to use with image's mask instead of full color image.
- //
- /////////////////////////////////////////////////////////////////////
- //
- #ifndef _PPTOOLTIP_H
- #define _PPTOOLTIP_H
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // PPTooltip.h : header file
- #pragma warning(disable : 4786)
- #include "PPHtmlDrawer.h"
- #include <vector>
- #include <map>
- //ENG: Comments a next line if you never use a tooltip for a menu
- //RUS: 青觐戾眚桊箝蝈 耠邃簋