Application

final
class Application {
Event!(Object, EventArgs) idle;
Event!(Object, ThreadExceptionEventArgs) threadException;
Event!(Object, EventArgs) threadExit;
enum ZOMBIE_PROP;
enum _compat;
DflCompat _compat;
DWORD tlsHook;
enum short FIRST_MENU_ID;
enum short END_MENU_ID;
enum ushort FIRST_CTRL_ID;
enum ushort LAST_CTRL_ID;
ushort prevMenuID;
uint nmenus;
Menu* menus;
}

Members

Properties

executablePath
Dstring executablePath [@property getter]

Path of the executable including its file name.

startupPath
Dstring startupPath [@property getter]

Directory containing the executable.

userAppDataBasePath
Dstring userAppDataBasePath [@property getter]

Application data base directory path, usually C:\Documents and Settings\<user>\Application Data; this directory might not exist yet.

Static functions

doEvents
bool doEvents()

Process all messages in the message queue. Returns false if the application should exit.

exitThread
void exitThread()

Exit the thread's message loop and return from run.

run
void run()

Run the application.

Static variables

hotkeys
HotkeyRegister hotkeys;

helper

Meta