Splitter_SetSplitPos

<< Click to Display Table of Contents >>

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

Splitter_SetSplitPos

 

Description

 

Define the position of the splitter bar in pixels.

 

Syntax

 

n = Splitter_SetSplitPos (hwnd, ctrlID, PixelPos)

 

Returns

 

Number

Previous position.

 

Parameters

 

Name

Type

Optional

Meaning

hwnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier

PixelPos

Number

No

Pixels position (from the left or upper edge) where to set the split bar

 

Remarks

 

Restrictions

 

See also

 

Examples