The visible part of your applications is composed of one or several windows.
An ID is attributed to each window. The first one is automatically created at startup and it's ID can be retrieved with the keyword main.
Up to 255 windows can be created.
Windows can be rectangular or non-rectangular, bordered, sizable, floating, docked, etc...
When an event is raised, the window author of the event can be retrieved with window.eventAuthor.
Creating and destroying windows
window.create, window.ID.create
window.ID.close, window.cancelClose
event.window:close
Attributes and Properties
window.ID.title, window.ID.movable
window.ID.visible, window.ID.enabled
Minimize and Maximize
window.ID.state
event.minimize, event.restore
Size, Position and Z-Order
window.ID.pos.now, window.ID.pos.rel
window.ID.left, window.ID.top, window.ID.width, window.ID.height
event.resize, event.window:move
Look and Feel, Styles and Borders
window.ID.image.load, window.ID.icon
window.ID.transparency, window.ID.repaint
window.ID.borderStyle, window.ID.borderIcon
window.ID.clientArea, window.ID.clientWidth, window.ID.clientHeight
window.ID.border.left, window.ID.border.top, window.ID.border.right, window.ID.border.bottom
Focus and Z-Order
window.ID.stayOnTop, window.ID.bringToFront, window.ID.sendToBack
window.ID.setFocus, event.window:gotFocus, event.window:lostFocus
Non-Rectangular Windows
window.ID.shape.rect, window.ID.shape.elliptic, window.ID.shape.from.ID, window.ID.shape.load, window.ID.shape.polygon
Docked Windows
window.ID.appBar.refreshPos, window.ID.appBar.setPos
window.ID.appBar.enable
event.appBar:posChanged
Monitor and Multi-Screen Support
window.ID.monitor.index
window.ID.monitor.left, window.ID.monitor.top, window.ID.monitor.width, window.ID.monitor.height
Parent Windows
window.ID.parent, window.ID.getParentId
window.ID.parent.left, window.ID.parent.top, window.ID.parent.width, window.ID.parent.height
Groups of Windows
window.ID.group.get, window.ID.group.set.
Status Icon
window.ID.statusIcon.show, window.ID.statusIcon.hide
event.statusIcon:mouse:down, event.statusIcon:mouse:up, event.statusIcon:mouse:dblClick
event.statusIcon:mouse:right:down, event.statusIcon:mouse:right:up, event.statusIcon:mouse:right:dblClick
event.statusIcon:mouse:move
|