1 CPPToolTip控件介绍
Files Description
PPTooltip.h
PPTooltip.cpp CPPTooltip class
PPHtmlDrawer.h PPHtmlDrawer.cpp CPPHtmlDrawer class. It's need to drawing HTML string in tooltip body
PPDrawManager.h
PPDrawManager.cpp CPPDrawManager class is a set of methods to work with graphics.
CeXDib.h
CeXDib.cpp CCeXDib class thanks to Davide Pizzolato and Davide Calabro. This class use for extend background's effect.
Extend background effects by Davide Pizzolato and Davide Calabro become available if defined USE_SHADE:
in PPDrawManager.h
#define USE_SHADE
2 在普通窗体控件中使用
2.1 创建CPPToolTip对象
CPPToolTip m_tooltip;
2.2 在窗口初始化函数OnInitDialog中:
// Creat
CPPToolTip控件介绍
最新推荐文章于 2022-01-18 13:44:37 发布
本文介绍了如何使用CPPToolTip控件来实现窗口中的按钮控件提示、工具栏提示以及菜单提示。通过创建CPPToolTip对象、添加提示控件、拦截鼠标消息以及针对不同场景进行配置,可以方便地在MFC应用中添加丰富且自定义的提示效果。
摘要由CSDN通过智能技术生成