class XGAppSingleWindow

Declared in <XApplication.h>
Declared from XGAppCore

This implements a single-window application. On Windows, this creates an SDI window application; on the Macintosh this creates an application which quits as soon as the window is closed.

The way this works is to create a single menu bar object (in Windows, in the opened window), and update the menu bar according to the messages received by 'ReceiveDispatch' (on the periodic events).

When the main window close event is received, we terminate the event loop and quit this program.


Event Processing

XGAppSingleWindow::Run

Construction/Destruction

XGAppSingleWindow:::~XGAppSingleWindow
XGAppSingleWindow::XGAppSingleWindow


Event Processing

XGAppSingleWindow::Run

Usage: void XGAppSingleWindow::Run(void)

This verifies that a window was in fact created. If not, this complains and quits

Construction/Destruction

XGAppSingleWindow:::~XGAppSingleWindow

Usage: XGAppSingleWindow::~XGAppSingleWindow()

Delete me

XGAppSingleWindow::XGAppSingleWindow

Usage: XGAppMultiWindow::~XGAppMultiWindow()

Create me