WINDOW widget

A window is a rectangular area on the screen that can contain frame widgets, parent dialog boxes, and parent other windows. It is surrounded by a standard border and affordances provided by your window system to manipulate the window's size, location, and appearance on the screen.

The AVM automatically creates one default window for each session. You can create additional dynamic windows with the CREATE widget statement. Each additional window can be parented by the window system, creating siblings (the default) or by another window, creating child and parent window relationships. You create a parent and child relationship between two windows by setting the PARENT attribute of one (the child) to the handle of the other (the parent).

Windows in a parent and child relationship form a window family, which is a hierarchy of parent and child windows ultimately parented by the window system. The top parent window that is parented by the window system is the root window of the window family.

The following figure shows a window family consisting of a root window and its child window:





Attributes

ALWAYS-ON-TOP attribute BGCOLOR attribute COLUMN attribute
CONTEXT-HELP attribute CONTEXT-HELP-FILE attribute CONTROL-BOX attribute
DCOLOR attribute DROP-TARGET attribute DYNAMIC attribute
FGCOLOR attribute FIRST-CHILD attribute FONT attribute
FULL-HEIGHT-CHARS attribute FULL-HEIGHT-PIXELS attribute FULL-WIDTH-CHARS attribute
FULL-WIDTH-PIXELS attribute HANDLE attribute HEIGHT-CHARS attribute
HEIGHT-PIXELS attribute HIDDEN attribute HWND attribute
ICON attribute INSTANTIATING-PROCEDURE attribute KEEP-FRAME-Z-ORDER attribute
LAST-CHILD attribute MAX-BUTTON attribute MAX-HEIGHT-CHARS attribute
MAX-HEIGHT-PIXELS attribute MAX-WIDTH-CHARS attribute MAX-WIDTH-PIXELS attribute
MENU-BAR attribute MENU-KEY attribute MENU-MOUSE attribute
MESSAGE-AREA attribute MESSAGE-AREA-FONT attribute MIN-BUTTON attribute
MIN-HEIGHT-CHARS attribute MIN-HEIGHT-PIXELS attribute MIN-WIDTH-CHARS attribute
MIN-WIDTH-PIXELS attribute MOUSE-POINTER attribute NAME attribute
NEXT-SIBLING attribute NUM-DROPPED-FILES attribute NUM-SELECTED-WIDGETS attribute
PARENT attribute PFCOLOR attribute POPUP-MENU attribute
PREV-SIBLING attribute PRIVATE-DATA attribute RESIZE attribute
ROW attribute SCREEN-LINES attribute SCROLL-BARS attribute
SENSITIVE attribute SHOW-IN-TASKBAR attribute SMALL-ICON attribute
SMALL-TITLE attribute STATUS-AREA attribute STATUS-AREA-FONT attribute
THREE-D attribute TITLE attribute TOP-ONLY attribute
TYPE attribute VIRTUAL-HEIGHT-CHARS attribute VIRTUAL-HEIGHT-PIXELS attribute
VIRTUAL-WIDTH-CHARS attribute VIRTUAL-WIDTH-PIXELS attribute VISIBLE attribute
WIDTH-CHARS attribute WIDTH-PIXELS attribute WINDOW attribute
WINDOW-STATE attribute X attribute Y attribute

Methods

Events

Notes

See also

CREATE widget statement, DIALOG-BOX widget