Declared in <XApplication.h>
Declared from XGFocusThis encapsulates the core event code for the YAAF application. Your application class would be declared as a descendant of the XGAppSingleWindow or XGAppMultiWindow classes instead of this one.
Status Information
Event Processing
XGAppCore::Exit
XGAppCore::IsModalWindow
XGAppCore::Run
XGAppCore::RunOnce
XGAppCore::WaitCheck
XGAppCore::WaitCheck
Construction/Destruction
Status Information
Usage: static XGAppCore*GetApplication()
Returns a pointer to the currently created application object.
Event Processing
Usage: void XGAppCore::Exit()
Handle exit. This simply sets the 'quit' flag
Usage: bool IsModalWindow()
Returns true if the event loop is currently executing in behalf of modal window dialog processing.
Usage: void XGAppCore::Run()
Run the application event loop. Basically this calls 'RunOnce' until quit
Usage: void XGAppCore::RunOnce(XGWindow*w)
Run the event loop once. Simply defer to the 'DoEvent' routine, along with the appropriate pre/post events
Usage: static short GetLastModifiers()
Returns the modifier flags associated with the last keyboard or mouse event processed.
Usage: static bool WaitCheck()
Static method for running the event loop once. Returns 'true' if the cancel key was selected.
Construction/Destruction
Usage: XGAppCore::XGAppCore()
Construct the application core object. This initializes me
Usage: XGAppCore::~XGAppCore()
Shut me down.