CHILD Mnemonic - Create a Child Window
Syntax
'CHILD'(id,x,y,w,h,title,flags,context{,eventmask})
Description
The 'CHILD' mnemonic creates a child window. It must be issued in the
context of the window that is to contain it.
Note that for child windows, scroll bars will never appear. The size of
the window is always the last size given to it programmatically (using
the 'size' mnemonic or resbuilder).
Parameter | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | Control ID number. It must be an integer between 1 and 32767 and be unique within a given top-level window. | ||||||||||||||||||||||||
x | Horizontal position of the upper-left corner of the control in current units. | ||||||||||||||||||||||||
y | Vertical position of the upper-left corner of the control in current units. | ||||||||||||||||||||||||
w | Width of the control in current units. | ||||||||||||||||||||||||
h | Height of the control in current units. | ||||||||||||||||||||||||
flags | Control flags,
as follows:
|
||||||||||||||||||||||||
context | An empty context for the child window to occupy. The child can then be referenced either by its ID number from within the parent context or by the ID 0 from its own context. Either method can be used in most cases. | ||||||||||||||||||||||||
eventmask | Event mask to be applied to the child window. For additional information, see SYSGUI Event Queue. |