Style and Activation
A tooltip control has two class-specific styles: TTS_ALWAYSTIP and
TTS_NOPREFIX.
A tooltip control with the TTS_ALWAYSTIP style appears when the cursor is on a
tool, regardless of whether the tooltip control's owner window is active or
inactive. Without this style, the tooltip control appears when the tool's owner
window is active, but not when it is inactive.
The TTS_NOPREFIX style prevents the system from stripping the ampersand (&)
character from a string. If a tooltip control does not have the TTS_NOPREFIX
style, the system automatically strips ampersand characters, allowing an
application to use the same string as both a menu item and as text in a tooltip control.
A tooltip control itself can be either active or inactive. When it is active,
the tooltip control appears when the cursor is on a tool. When it is inactive,
the tooltip control does not appear, even if the cursor is on a tool. The
TTM_ACTIVATE message activates and deactivates a tooltip control.
A tooltip control has the WS_POPUP and WS_EX_TOOLWINDOW window styles,
regardless of whether you specify them when creating the control.
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database