List of all members.
The window resizes according to the size and orientation of its content, sizing so that there's ten pixels empty on each side. Assigning the width and/or height directly stops this behaviour for that axis.
Public Member Functions
|this (Control parent)|
|Create the window. |
|Create the window with no parent (a top-level window). |
|this (MenuBar menu)|
|Create the window with a menu. |
|Get the background color. |
|This version returns this. |
|void||caption (char text)|
|Set the titlebar caption. |
|Bring this window to the front. |
|Display the window. |
|Hide the window so that it is not displayed. |
|Close the window. |
|Receive and dispatch messages for the window. |
|void||captionbar (bit value)|
|Set whether there should be a caption bar on the window. |
|void||maximizable (bit value)|
|Set whether the maximimize box should be displayed. |
|void||minimizable (bit value)|
|Set whether the minimize box should be displayed. |
|void||resizable (bit value)|
|Set whether this window is resizable. |
|void||sysmenu (bit value)|
|Set whether the system menu should be displayed. |
|void||childWindow (bit value)|
|Set whether this is a child window that runs in its parent's frame (true) or an independent window that runs at the top level (false, default). |
|void||icon (Bitmap bitmap)|
|Assign the icon for the window. |
Static Public Member Functions
|Setup the GUI class for windows. |
|Quit the program. |
|Sent when the window or application should terminate. |
|Sent when this window has been maximized. |
|Sent when this window has been minimized. |
|Window has been made current. |
|Another window has been made current. |
|Window has been resized or restored after being minimized. |
Close the window.
This is necessary if this is the modal window (if the showModal method has been called).
Reimplemented from Control.
Assign the icon for the window.
Under Windows, the opacity channel is used to create the transparency bitmap by making the pixel opaque if it's closer to opacity than it is to transparency, or transparent otherwise. The default icon is system-selected, and can be reverted to by passing null to this method.
Sent when the window or application should terminate.
When empty, the window is deleted if it's not the first-created window; if it is, the application is exited with value 0.
Window has been resized or restored after being minimized.
x and y are the dimensions of the new size asked for.