Help Center

CToolbar.SetToolTipsmethod

Associates a tooltip control with a toolbar.

WindowsmethodCToolbar.incdocumented

Syntax

SUB SetToolTips (BYVAL hToolbar AS HWND, BYVAL hwndToolTip AS HWND)

Parameters

NameDescription
hToolbarHandle to the toolbar control.
hwndToolTipHandle to the tooltip control.

Description

Associates a tooltip control with a toolbar.

Remarks

Any buttons added to a toolbar before sending the TB_SETTOOLTIPS message will not be registered with the tooltip control.

Reference

  • Include file CToolbar.inc
  • Defined in AfxNova/CToolbar.inc:1274
  • Documented in Windows/WIndows Controls/CToolbar Class.md
  • Topic: CToolbar Class