气球形状的ToolTip

来源:互联网 发布:windows搭建ipv6 编辑:程序博客网 时间:2024/04/29 02:09
 
关于ToolTip Styles
ToolTip controls support a variety of control styles in addition to standard window styles. A ToolTip control always has the WS_POPUP and WS_EX_TOOLWINDOW window styles, regardless of whether you specify them when creating the control.
The following control styles are used with ToolTip controls:
TTS_BALLOON
Version 5.80. Indicates that the ToolTip control has the appearance of a cartoon "balloon," with rounded corners and a stem pointing to the item. 
例如:
DWORD dwToolTipStyle = 0;
dwToolTipStyle |= TTS_BALLOON;
m_ToolTip.Create(this, dwToolTipStyle);