SPLIT_WINDOW
|
Syntax: |
SPLIT_WINDOW(<Handle>, <Type>,
<Size>, <Red>, <Green>, <Blue> [,<Divider Size>, <Display
Immediately> [,<Red-2>, <Green-2>,
<Blue-2>, <Direction>]])
|
|||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||
|
Meaning: |
Creates a split window. <Handle> defines the window to be
split:
<Type> specifies how the window is
split:
SPLIT_WINDOW returns the handle of the new split
window. In the function SPLIT_WINDOW the handle of a split window can also be
specified as <Handle>. Then this split window is split again. Only the main window, mask windows and
windows created by the instruction WINDOW can be split. With SET_SPLIT_WINDOW_HEADER a header line can be created in the new split window, which contains
a button for closing the split window. The new split window can be filled with the
following NOWAIT functions: WINDOWCALL implicitly works like NOWAIT, with
the other functions the parameter NOWAIT must be specified. In addition, the
handle <Split Handle> of a split window must be specified after the
parameter <Exit Macro>. If a new mask is started with WINDOWCALL in a
split window, the restarted mask immediately turns into the current mask;
when another function is started the current mask does not change. The parameters <Red>, <Green> and
<Blue> define background color of the new split window. If one of the
three values < 0, the new split window is transparent, that means the old
background color shines through. If the parameters <Red-2>,
<Green-2>, <Blue-2>, <Direction> are specified, a
background gradient from color <Red>, <Green>, <Blue> to
color <Red-2>, <Green-2>, <Blue-2> is created. If a split window is active, EBUS_SPLITHANDLE contains the handle of the split window. SPLIT_WINDOW returns the following values:
|
|||||||||||||||||||||||||||||||||||
|
Parameter: |
|
|||||||||||||||||||||||||||||||||||
|
Sample: |
/* Split main window
with proportion 3:1 HANDLE% = SPLIT_WINDOW(0,1,75,-1,-1,-1) IF HANDLE% < 0 THEN ... Error ... ENDIF /* Load Mask No. 45
into the split window H% = WINDOWCALL(#45,PROG.EXIT.SPLIT.WINDOW,HANDLE%) |
|||||||||||||||||||||||||||||||||||
|
See also: |
GET_SPLIT_WINDOW_DIVIDER_PIXEL SET_SPLIT_WINDOW_DIVIDER_ENABLED SPLIT_HEADER_BACKGROUNDGRADIENT |