LVM_SETINFOTIP message

Sets tooltip text in delayed response to the LVN_GETINFOTIP notification.

Parameters

wParam

Must be zero.

lParam

Pointer to a LVSETINFOTIP structure that contains the information to set.

Return value

Returns TRUE if the tooltip text is set successful, or FALSE otherwise.

Remarks

The LVM_SETINFOTIP message lets an application calculate infotips in the background by performing the following steps:

  1. In response to the LVN_GETINFOTIP notification, set the pszText member of the NMLVGETINFOTIP structure to an empty string and return 0.
  2. In the background, compute the infotip.
  3. After computing the infotip, send the LVM_SETINFOTIP message, setting the pszText member of the LVSETINFOTIP structure to the infotip and the iItem and iSubItem members to the item and sub-item to which the infotip applies.

The text passed to the LVM_SETINFOTIP message appears only if the item and sub-item described by the LVSETINFOTIP structure are still in a state that requires an infotip

Note

To use this message, you must provide a manifest specifying Comclt32.dll version 6.0. For more information on manifests, see Enabling Visual Styles.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h