<<

Contents

Search

>>

 

GET_SPLIT_SIZE

 

 

Function

 

 

Syntax:

GET_SPLIT_SIZE(<Type>,<Handle>)

 

<Type>

= <NUM-EXPRESSION>

<Handle>

= <NUM- EXPRESSION >

 

Meaning:

Returns the current size of a split window in pixel.

 

<Handle> must contain a window depth or a split handle.

 

If <Handle> contains a window depth the size of that split window is returned that contains the mask of the specified window depth.

 

GET_SPLIT_SIZE returns -1 if the specified split window could not be found.

 

Parameter:

Type

= 1:

Height of the split window

= otherwise:

Width of the split window

Handle

Split handle or window depth

 

Sample:

GET_SPLIT_SIZE(1,0) returns the height ot the split window that contains the main mask.

 

HANDLE% = SPLIT_WINDOW(0,1,75)

SPLIT_WIDTH% = GET_SPLIT_SIZE(2,HANDLE%)

 

See also:

GET_SIZE$

GET_SCROLLPANE_SIZE

GET_TABCONTROL_SIZE

SPLIT_WINDOW