Tooltip StylesTooltip Styles*
*Contents  *Index  *Topic Contents
*Previous Topic: Tooltip Control Reference
*Next Topic: Tooltip Control Messages

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.
TTS_ALWAYSTIP The tooltip appears when the cursor is on a tool, even if the tooltip control's owner window is inactive. Without this style, the tooltip control appears only when the tool's owner window is active.
TTS_NOPREFIX Prevents the system from stripping the ampersand (&) character from a string. Without this style, the system automatically strips ampersand characters. This allows an application to use the same string as both a menu item and as text in a tooltip control.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.