Sub Window
X-Plane dialogs are divided into separate areas; the sub window widgets allow you to make these areas. Create one main window and place several subwindows inside it. Then place your controls inside the subwindows.
xpWidgetClass_SubWindow
define
#define xpWidgetClass_SubWindow 2
SubWindow Type Values
enum
These values control the appearance of the subwindow.
| Name | Value | Description |
|---|---|---|
| xpSubWindowStyle_SubWindow | 0 | A panel that sits inside a main window. |
| xpSubWindowStyle_Screen | 2 | A screen that sits inside a panel for showing text information. |
| xpSubWindowStyle_ListView | 3 | A list view for scrolling lists. |
SubWindow Properties
enum
| Name | Value | Description |
|---|---|---|
| xpProperty_SubWindowType | 1200 | This property specifies the type of window. Set to one of the subwindow types above. |