DLL
To display text tips
-
Call the SSSetTextTip function, setting the wStatus and lDelay parameters as follows:
-
Specify that you want to display text tips, whether you want text tips to display only when the control has the focus, and the location of the text tips by setting the wStatus parameter to a value other than SS_TT_STATUS_OFF, as described in the following table:
If you want the text tip to display . . . Use this setting . . . Aligned to the top-left corner of the header or cell for which it appears at any time SS_TT_STATUS_FIXED Aligned to the top-left corner of the header or cell for which it appears only when the control has the focus SS_TT_STATUS_FIXEDFOCUSONLY Aligned to the pointer location at any time SS_TT_STATUS_FLOATING Aligned to the pointer location only when the control has the focus SS_TT_STATUS_FLOATINGFOCUSONLY - If you want to change the delay interval before the control displays text tips, set the lDelay parameter.
-
Specify that you want to display text tips, whether you want text tips to display only when the control has the focus, and the location of the text tips by setting the wStatus parameter to a value other than SS_TT_STATUS_OFF, as described in the following table:
- Set the fShow field of the SS_TEXTTIPFETCH structure to True.