Main Window
The main window widget class provides a "window" as the user knows it. These windows are draggable and can be selected. Use them to create floating windows and non-modal dialogs.
xpWidgetClass_MainWindow
define
#define xpWidgetClass_MainWindow 1
Main Window Type Values
enum
These type values are used to control the appearance of a main window.
| Name | Value | Description |
|---|---|---|
| xpMainWindowStyle_MainWindow | 0 | The standard main window; pin stripes on XP7, metal frame on XP 6. |
| xpMainWindowStyle_Translucent | 1 | A translucent dark gray window. |
Main Window Properties
enum
| Name | Value | Description |
|---|---|---|
| xpProperty_MainWindowType | 1100 | This property specifies the type of window. Set to one of the main window types above. |
| xpProperty_MainWindowHasCloseBoxes | 1200 | This property specifies whether the main window has close boxes in its corners. |
MainWindow Messages
enum
| Name | Value | Description |
|---|---|---|
| xpMessage_CloseButtonPushed | 1200 | This message is sent when the close buttons for your window are pressed. |