Compartilhar via


LVM_SETTOOLTIPS

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message sets the ToolTip control that the list-view control will use to display ToolTips. You can send this message explicitly or use the ListView_SetToolTips macro.

To send this message, call the SendMessage function.

Syntax

lResult = SendMessage(
   (HWND) hWndControl,
   (UINT) LVM_SETTOOLTIPS,
   (WPARAM) wParam,    // = 0; not used, must be zero
   (LPARAM) lParam     // = (LPARAM) (HWND) hwndToolTip;
); 

Parameters

  • wParam
    Must be zero.
  • hwndToolTip
    Handle to the ToolTip control to be set.

Return Value

Returns the handle to the previous ToolTip control.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

LVM_GETTOOLTIPS
List-View Controls Messages