WinXSplitter_GetPos


WinXSplitter_GetPos (series, hCtrl, @position, @docked)

Get the splitter position and docking state

Parameter Description
series The Auto Sizer series to which the splitter belongs
hCtrl The handle to the control or Auto Sizer series with which the splitter is associated
@position The variavle to receive the position of the splitter
@docked The variable to retreive the docking state of the splitter. $$TRUE if the splitter is docked, $$FALSE otherwise

Returns

$$TRUE on success or $$FALSE on fail

Remarks

This function is primarily so you can save the state of a splitter

Examples

' Get the position of some splitter
WinXSplitter_GetPos (series, hCtrl, @position, @docked)
IF docked THEN PRINT "Docked" ELSE PRINT "Position: ";position

Related Links

WinXAutoSizer_GetMainSeries
WinXAutoSizer_SetSimpleInfo
WinXSplitter_SetProperties
WinXSplitter_SetPos