Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Controls
Control Library
ToolTip
Constants
 ToolTip Styles

  Switch on low bandwidth view
ToolTip Styles

This section lists the control styles used with ToolTip controls.

Constants

TTS_ALWAYSTIP 
Indicates that the ToolTip control appears when the cursor is on a tool, even if the ToolTip control's owner window is inactive. Without this style, the ToolTip appears only when the tool's owner window is active.
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.
TTS_CLOSE 
Displays a Close button on the ToolTip. Valid only when the ToolTip has the TTS_BALLOON style and a title; see TTM_SETTITLE.
TTS_NOANIMATE 
Version 5.80. Disables sliding ToolTip animation on Microsoft Windows 98 and Windows 2000 systems. This style is ignored on earlier systems.
TTS_NOFADE 
Version 5.80. Disables fading ToolTip animation on Windows 2000 systems. This style is ignored on earlier Microsoft Windows NT systems, and on Windows 95 and Windows 98.
TTS_NOPREFIX 
Prevents the system from stripping ampersand characters from a string or terminating a string at a tab character. Without this style, the system automatically strips ampersand characters and terminates a string at the first tab character. This allows an application to use the same string as both a menu item and as text in a ToolTip control.
TTS_USEVISUALSTYLE 
Uses themed hyperlinks. The theme will define the styles for any links in the ToolTip. This style always requires TTF_PARSELINKS to be set.

Remarks

A ToolTip control always has the WS_POPUP and WS_EX_TOOLWINDOW window styles, regardless of whether you specify them when creating the control.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
TTS_CLOSE Style      Raabi   |   Edit   |   Show History
Be aware, TTS_CLOSE only works with Common Controls V6.

Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker