Help Center

CTrackbar.GetThumbLengthmethod

Retrieves the length of the slider in a trackbar.

WindowsmethodCTrackbar.incdocumented

Syntax

FUNCTION GetThumbLength (BYVAL hTrackbar AS HWND) AS LONG

Parameters

NameDescription
hTrackbarHandle to the trackbar control.

Return value

Returns the length, in pixels, of the slider.

Description

Retrieves the length of the slider in a trackbar.

Reference

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