Help Center

CTrackbar.SetSelEndmethod

Sets the ending logical position of the current selection range in a trackbar.

WindowsmethodCTrackbar.incdocumented

Syntax

SUB SetSelEnd (BYVAL hTrackbar AS HWND, BYVAL lEnd AS LONG, BYVAL fRedraw AS BOOLEAN = FALSE)

Parameters

NameDescription
hTrackbarHandle to the trackbar control.
lEndEnding logical position of the selection range.
fRedrawRedraw flag. If this parameter is TRUE, the message redraws the trackbar after the selection range is set. If this parameter is FALSE, the message sets the selection range but does not redraw the trackbar.

Description

Sets the ending logical position of the current selection range in a trackbar. This message is ignored if the trackbar does not have the TBS_ENABLESELRANGE style.

Reference

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