Help Center

CTrackbar.SetToolTipsmethod

Assigns a ToolTip control to a trackbar control.

WindowsmethodCTrackbar.incdocumented

Syntax

FUNCTION SetToolTips (BYVAL hTrackbar AS HWND, BYVAL hwndTT AS HWND)

Parameters

NameDescription
hTrackbarHandle to the trackbar control.
hwndTTHandle to an existing tooltip control.

Return value

The return value for this message is not used.

Description

Assigns a tooltip control to a trackbar control.

Remarks

When a trackbar control is created with the TBS_TOOLTIPS style, it creates a default tooltip control that appears next to the slider, displaying the slider's current position.

Reference

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