Help Center

CTrackbar.GetSelEndmethod

Retrieves the ending position of the current selection range in a trackbar.

WindowsmethodCTrackbar.incdocumented

Syntax

FUNCTION GetSelEnd (BYVAL hTrackbar AS HWND) AS LONG

Parameters

NameDescription
hTrackbarHandle to the trackbar control.

Return value

Returns a 32-bit value that specifies the ending position of the current selection range.

Description

Retrieves the ending position of the current selection range in a trackbar.

Remarks

A trackbar can have a selection range only if you specified the TBS_ENABLESELRANGE style when you created it.

Reference

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