Share via


TB_SETTOOLTIPS (Compact 2013)

3/28/2014

This message associates a ToolTip control with a toolbar. To send this message, call the SendMessage function.

Syntax

TB_SETTOOLTIPS
    wParam = (WPARAM) (HWND) hwndToolTip;
    lParam = 0;

Parameters

  • hwndToolTip
    Handle to the ToolTip control.
  • lParam
    Set to zero.

Return Value

None.

Remarks

Any buttons added to a toolbar before sending the TB_SETTOOLTIPS message will not be registered with the ToolTip control. This is consistent with the Windows-based desktop and is the preferred use of TB_SETTOOLTIPS.

The TB_SETTOOLTIPS message uses the memory address passed in the lParam parameter. Do not release the memory allocated for the ToolTip string array until the program exits.

Requirements

Header

commctrl.h

See Also

Reference

Toolbar Controls Messages
SendMessage