TrackBar_GetPos

<< Click to Display Table of Contents >>

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

TrackBar_GetPos

 

Description

 

Retrieves the current logical position of the slider in a trackbar.

 

Syntax

 

n = TrackBar_GetPos(hWnd, ctrlID)

 

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 ...

 

Remarks

 

Restrictions

 

See also

 

Examples