TrackBar_SetThumbLength

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > Trackbar control > Trackbar Control Commands >

TrackBar_SetThumbLength

 

Description

 

Sets the length of the slider in a trackbar.

 

Syntax

 

n = TrackBar_SetThumbLength(hWnd, ctrlID, PixelLen)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

PixelLen

Number

No

Length, in pixels, of the slider.

 

Remarks

 

Restrictions

 

This message is ignored if the trackbar does not have the %TBS_FIXEDLENGTH style.

 

See also

 

Examples