LVM_SETTOOLTIPS

Windows Mobile 6.5
A version of this page is also available for
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.


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

wParam

Must be zero.

hwndToolTip

Handle to the ToolTip control to be set.

Returns the handle to the previous ToolTip control.

Headercommctrl.h
Windows Embedded CEWindows CE 5.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: