
---------- enum CommandID ----------
AG_KEY_CHAR          = 0;
AG_KEY_BACKSPACE     = 8;
AG_KEY_CTRL          = 17;
AG_KEY_SPACE         = 32;
AG_KEY_F1            = 84;
AG_KEY_DISCONNECTION = 85;
AG_KEY_CANCEL        = 86;
AG_KEY_HELP          = 87;
AG_KEY_FRIENDS       = 88;
AG_KEY_VALIDATE      = 89;
AG_KEY_NOTIFICATION  = 90;
AG_KEY_HOME          = 36;
AG_KEY_LEFT          = 37;
AG_KEY_UP            = 38;
AG_KEY_RIGHT         = 39;
AG_KEY_DOWN          = 40;

---------- enum PageEvent ----------
PAGE_INVALID_EVENT = 0;
PAGE_COMMAND       = 1;
PAGE_MOUSE         = 2;
PAGE_GAIN_FOCUS    = 3;
PAGE_LOSE_FOCUS    = 4;
PAGE_OVERLAPPED    = 5;
PAGE_UNOVERLAPPED  = 6;
PAGE_BEGIN_DRAW    = 7;
PAGE_END_DRAW      = 8;

---------- enum InputType ----------
INPUT_OTHER      = 0;
INPUT_VALIDATION = 1;
INPUT_BACK       = 2;

---------- enum Platform ----------
PLATFORM_INVALID = 0;
PLATFORM_WIN32   = 1;
PLATFORM_PS2     = 2;
PLATFORM_XBOX360 = 3;
PLATFORM_PSP     = 4;

---------- enum ConnectionType ----------
CONNECTIONTYPE_INVALID = 0;
CONNECTIONTYPE_LAN     = 1;
CONNECTIONTYPE_ONLINE  = 2;

---------- enum ResourceType ----------
RESOURCE_INVALID      = 0;
RESOURCE_PACKAGE      = 1;
RESOURCE_PAGE         = 2;
RESOURCE_MATERIAL     = 3;
RESOURCE_LISTBOX      = 4;
RESOURCE_EDITBOX      = 5;
RESOURCE_TEXTBOX      = 6;
RESOURCE_CHECKBOX     = 7;
RESOURCE_TOGGLEBUTTON = 8;
RESOURCE_BUTTON       = 9;

