WinXSplitter_SetPos


WinXSplitter_SetPos (series, hCtrl, position, docked)

Sets the position and docking state of a splitter

Parameter Description
series The Auto Sizer series towhich the splitter belongs
hCtrl The handle to the control or Auto Sizer series with which the splitter is associate
position The position for the splitter
docked $$TRUE to dock the splitter

Returns

$$TRUE on success or $$FALSE on fail

Remarks

The position parameter specifies the size of the control or Auto Sizer series with which the splitter is associated. This function is provided primarily to allow restoring of a splitter's position.

Examples

' Dock a splitter
WinXSplitter_GetPos (series, hCtrl, @position, @docked)
WinXSplitter_SetPos (series, hCtrl, position, $$TRUE)

Related Links

WinXAutoSizer_GetMainSeries
WinXAutoSizer_SetSimpleInfo
WinXSplitter_SetProperties
WinXSplitter_GetPos