home *** CD-ROM | disk | FTP | other *** search
- #include-once
-
- ; ------------------------------------------------------------------------------
- ;
- ; AutoIt Version: 3.2
- ; Author(s): Jeremy Landes <jlandes at landeserve dot com>
- ; David Nuttall <danuttall at rocketmail dot com>
- ; Philip Gump <cyberslug at autoitscript dot com>
- ; Holger Kotsch <Holger dot Kotsch at GMX dot de>
- ; Dave...
- ; Description: This file is meant to be included in an AutoIt v3 script to
- ; provide access to these constants.
- ;
- ; ------------------------------------------------------------------------------
-
-
- ; ===============================================================================================================================
- ; AutoIt Options Constants
- ; ===============================================================================================================================
- ; Sets the way coords are used in the mouse and pixel functions
- Global Const $OPT_COORDSRELATIVE = 0 ; Relative coords to the active window
- Global Const $OPT_COORDSABSOLUTE = 1 ; Absolute screen coordinates (default)
- Global Const $OPT_COORDSCLIENT = 2 ; Relative coords to client area
-
- ; Sets how errors are handled if a Run/RunWait function fails
- Global Const $OPT_ERRORSILENT = 0 ; Silent error (@error set to 1)
- Global Const $OPT_ERRORFATAL = 1 ; Fatal error (default)
-
- ; Alters the use of Caps Lock
- Global Const $OPT_CAPSNOSTORE = 0 ; Don't store/restore Caps Lock state
- Global Const $OPT_CAPSSTORE = 1 ; Store/restore Caps Lock state (default)
-
- ; Alters the method that is used to match window titles
- Global Const $OPT_MATCHSTART = 1 ; Match the title from the start (default)
- Global Const $OPT_MATCHANY = 2 ; Match any substring in the title
- Global Const $OPT_MATCHEXACT = 3 ; Match the title exactly
- Global Const $OPT_MATCHADVANCED = 4 ; Use advanced window matching (deprecated)
-
- ; ===============================================================================================================================
- ; Common Control Styles
- ; ===============================================================================================================================
- Global Const $CCS_TOP = 0x1
- Global Const $CCS_NOMOVEY = 0x2
- Global Const $CCS_BOTTOM = 0x3
- Global Const $CCS_NORESIZE = 0x4
- Global Const $CCS_NOPARENTALIGN = 0x8
- Global Const $CCS_NOHILITE = 0x10
- Global Const $CCS_ADJUSTABLE = 0x20
- Global Const $CCS_NODIVIDER = 0x40
- Global Const $CCS_VERT = 0x00000080
- Global Const $CCS_LEFT = 0x00000081
- Global Const $CCS_NOMOVEX = 0x00000082
- Global Const $CCS_RIGHT = 0x00000083
-
- ; ===============================================================================================================================
- ; DrawIconEx Constants
- ; ===============================================================================================================================
-
- Global Const $DI_MASK = 0x0001
- Global Const $DI_IMAGE = 0x0002
- Global Const $DI_NORMAL = 0x0003
- Global Const $DI_COMPAT = 0x0004
- Global Const $DI_DEFAULTSIZE = 0x0008
- Global Const $DI_NOMIRROR = 0x0010
-
- ; ===============================================================================================================================
- ; EnumDisplayDevice Constants
- ; ===============================================================================================================================
-
- Global Const $DISPLAY_DEVICE_ATTACHED_TO_DESKTOP = 0x00000001
- Global Const $DISPLAY_DEVICE_MULTI_DRIVER = 0x00000002
- Global Const $DISPLAY_DEVICE_PRIMARY_DEVICE = 0x00000004
- Global Const $DISPLAY_DEVICE_MIRRORING_DRIVER = 0x00000008
- Global Const $DISPLAY_DEVICE_VGA_COMPATIBLE = 0x00000010
- Global Const $DISPLAY_DEVICE_REMOVABLE = 0x00000020
- Global Const $DISPLAY_DEVICE_DISCONNECT = 0x02000000
- Global Const $DISPLAY_DEVICE_REMOTE = 0x04000000
- Global Const $DISPLAY_DEVICE_MODESPRUNED = 0x08000000
-
- ; ===============================================================================================================================
-
- ; ===============================================================================================================================
- ; Dir Constants
- ; ===============================================================================================================================
- Global Const $DDL_ARCHIVE = 0x20
- Global Const $DDL_DIRECTORY = 0x10
- Global Const $DDL_DRIVES = 0x4000
- Global Const $DDL_EXCLUSIVE = 0x8000
- Global Const $DDL_HIDDEN = 0x2
- Global Const $DDL_READONLY = 0x1
- Global Const $DDL_READWRITE = 0x0
- Global Const $DDL_SYSTEM = 0x4
-
- ; ===============================================================================================================================
- ; File Constants
- ; ===============================================================================================================================
- ; Indicates file copy and install options
- Global Const $FC_NOOVERWRITE = 0 ; Do not overwrite existing files (default)
- Global Const $FC_OVERWRITE = 1 ; Overwrite existing files
-
- ; Indicates file date and time options
- Global Const $FT_MODIFIED = 0 ; Date and time file was last modified (default)
- Global Const $FT_CREATED = 1 ; Date and time file was created
- Global Const $FT_ACCESSED = 2 ; Date and time file was last accessed
-
- ; Indicates the mode to open a file
- Global Const $FO_READ = 0 ; Read mode
- Global Const $FO_APPEND = 1 ; Write mode (append)
- Global Const $FO_OVERWRITE = 2 ; Write mode (erase previous contents)
- Global Const $FO_BINARY = 16 ; Read/Write mode binary
- Global Const $FO_UNICODE = 32 ; Write mode Unicode UTF16-LE
- Global Const $FO_UTF16_LE = 32 ; Write mode Unicode UTF16-LE
- Global Const $FO_UTF16_BE = 64 ; Write mode Unicode UTF16-BE
- Global Const $FO_UTF8 = 128 ; Write mode Unicode UTF8
-
- ; Indicates file read options
- Global Const $EOF = -1 ; End-of-file reached
-
- ; Indicates file open and save dialog options
- Global Const $FD_FILEMUSTEXIST = 1 ; File must exist
- Global Const $FD_PATHMUSTEXIST = 2 ; Path must exist
- Global Const $FD_MULTISELECT = 4 ; Allow multi-select
- Global Const $FD_PROMPTCREATENEW = 8 ; Prompt to create new file
- Global Const $FD_PROMPTOVERWRITE = 16 ; Prompt to overWrite file
-
- Global Const $CREATE_NEW = 1
- Global Const $CREATE_ALWAYS = 2
- Global Const $OPEN_EXISTING = 3
- Global Const $OPEN_ALWAYS = 4
- Global Const $TRUNCATE_EXISTING = 5
-
- Global Const $FILE_ATTRIBUTE_READONLY = 0x00000001
- Global Const $FILE_ATTRIBUTE_HIDDEN = 0x00000002
- Global Const $FILE_ATTRIBUTE_SYSTEM = 0x00000004
- Global Const $FILE_ATTRIBUTE_DIRECTORY = 0x00000010
- Global Const $FILE_ATTRIBUTE_ARCHIVE = 0x00000020
- Global Const $FILE_ATTRIBUTE_DEVICE = 0x00000040
- Global Const $FILE_ATTRIBUTE_NORMAL = 0x00000080
- Global Const $FILE_ATTRIBUTE_TEMPORARY = 0x00000100
- Global Const $FILE_ATTRIBUTE_SPARSE_FILE = 0x00000200
- Global Const $FILE_ATTRIBUTE_REPARSE_POINT = 0x00000400
- Global Const $FILE_ATTRIBUTE_COMPRESSED = 0x00000800
- Global Const $FILE_ATTRIBUTE_OFFLINE = 0x00001000
- Global Const $FILE_ATTRIBUTE_NOT_CONTENT_INDEXED = 0x00002000
- Global Const $FILE_ATTRIBUTE_ENCRYPTED = 0x00004000
-
- Global Const $FILE_SHARE_READ = 0x00000001
- Global Const $FILE_SHARE_WRITE = 0x00000002
- Global Const $FILE_SHARE_DELETE = 0x00000004
-
- Global Const $GENERIC_ALL = 0x10000000
- Global Const $GENERIC_EXECUTE = 0x20000000
- Global Const $GENERIC_WRITE = 0x40000000
- Global Const $GENERIC_READ = 0x80000000
-
- ; ===============================================================================================================================
- ; FlashWindowEx Constants
- ; ===============================================================================================================================
-
- Global Const $FLASHW_CAPTION = 0x00000001
- Global Const $FLASHW_TRAY = 0x00000002
- Global Const $FLASHW_TIMER = 0x00000004
- Global Const $FLASHW_TIMERNOFG = 0x0000000C
-
- ; ===============================================================================================================================
- ; FormatMessage Constants
- ; ===============================================================================================================================
-
- Global Const $FORMAT_MESSAGE_ALLOCATE_BUFFER = 0x0100
- Global Const $FORMAT_MESSAGE_IGNORE_INSERTS = 0x0200
- Global Const $FORMAT_MESSAGE_FROM_STRING = 0x0400
- Global Const $FORMAT_MESSAGE_FROM_HMODULE = 0x0800
- Global Const $FORMAT_MESSAGE_FROM_SYSTEM = 0x1000
- Global Const $FORMAT_MESSAGE_ARGUMENT_ARRAY = 0x2000
-
- ; ===============================================================================================================================
- ; GetWindows Constants
- ; ===============================================================================================================================
-
- Global Const $GW_HWNDFIRST = 0
- Global Const $GW_HWNDLAST = 1
- Global Const $GW_HWNDNEXT = 2
- Global Const $GW_HWNDPREV = 3
- Global Const $GW_OWNER = 4
- Global Const $GW_CHILD = 5
-
- ; ===============================================================================================================================
- ; GetWindowLong Constants
- ; ===============================================================================================================================
-
- Global Const $GWL_WNDPROC = 0xFFFFFFFC
- Global Const $GWL_HINSTANCE = 0xFFFFFFFA
- Global Const $GWL_HWNDPARENT = 0xFFFFFFF8
- Global Const $GWL_ID = 0xFFFFFFF4
- Global Const $GWL_STYLE = 0xFFFFFFF0
- Global Const $GWL_EXSTYLE = 0xFFFFFFEC
- Global Const $GWL_USERDATA = 0xFFFFFFEB
-
- ; ===============================================================================================================================
- ; Standard Icon Index Constants
- ; ===============================================================================================================================
-
- Global Const $STD_CUT = 0
- Global Const $STD_COPY = 1
- Global Const $STD_PASTE = 2
- Global Const $STD_UNDO = 3
- Global Const $STD_REDOW = 4
- Global Const $STD_DELETE = 5
- Global Const $STD_FILENEW = 6
- Global Const $STD_FILEOPEN = 7
- Global Const $STD_FILESAVE = 8
- Global Const $STD_PRINTPRE = 9
- Global Const $STD_PROPERTIES = 10
- Global Const $STD_HELP = 11
- Global Const $STD_FIND = 12
- Global Const $STD_REPLACE = 13
- Global Const $STD_PRINT = 14
-
- ; ===============================================================================================================================
- ; Image Load Constants
- ; ===============================================================================================================================
-
- Global Const $LR_DEFAULTCOLOR = 0x0000
- Global Const $LR_MONOCHROME = 0x0001
- Global Const $LR_COLOR = 0x0002
- Global Const $LR_COPYRETURNORG = 0x0004
- Global Const $LR_COPYDELETEORG = 0x0008
- Global Const $LR_LOADFROMFILE = 0x0010
- Global Const $LR_LOADTRANSPARENT = 0x0020
- Global Const $LR_DEFAULTSIZE = 0x0040
- Global Const $LR_VGACOLOR = 0x0080
- Global Const $LR_LOADMAP3DCOLORS = 0x1000
- Global Const $LR_CREATEDIBSECTION = 0x2000
- Global Const $LR_COPYFROMRESOURCE = 0x4000
- Global Const $LR_SHARED = 0x8000
-
- ; ===============================================================================================================================
- ; Image Type Constants
- ; ===============================================================================================================================
-
- Global Const $IMAGE_BITMAP = 0
- Global Const $IMAGE_ICON = 1
- Global Const $IMAGE_CURSOR = 2
-
- ; ===============================================================================================================================
- ; Keyboard Constants
- ; ===============================================================================================================================
-
- ; Changes how keys are processed
- Global Const $KB_SENDSPECIAL = 0 ; Special characters indicate key presses (default)
- Global Const $KB_SENDRAW = 1 ; Keys are sent raw
-
- ; Sets the state of the Caps Lock key
- Global Const $KB_CAPSOFF = 0 ; Caps Lock is off
- Global Const $KB_CAPSON = 1 ; Caps Lock is on
-
- ; ===============================================================================================================================
- ; LoadLibraryEx Constants
- ; ===============================================================================================================================
-
- Global Const $DONT_RESOLVE_DLL_REFERENCES = 0x01
- Global Const $LOAD_LIBRARY_AS_DATAFILE = 0x02
- Global Const $LOAD_WITH_ALTERED_SEARCH_PATH = 0x08
-
- ; ===============================================================================================================================
- ; Reserved IDs for System Objects
- ; ===============================================================================================================================
-
- Global Const $OBJID_WINDOW = 0x00000000
- Global Const $OBJID_SYSMENU = 0xFFFFFFFF
- Global Const $OBJID_TITLEBAR = 0xFFFFFFFE
- Global Const $OBJID_MENU = 0xFFFFFFFD
- ; in ScrollBarConstants.au3
- ;~ Global Const $OBJID_CLIENT = 0xFFFFFFFC
- ;~ Global Const $OBJID_VSCROLL = 0xFFFFFFFB
- ;~ Global Const $OBJID_HSCROLL = 0xFFFFFFFA
- Global Const $OBJID_SIZEGRIP = 0xFFFFFFF9
- Global Const $OBJID_CARET = 0xFFFFFFF8
- Global Const $OBJID_CURSOR = 0xFFFFFFF7
- Global Const $OBJID_ALERT = 0xFFFFFFF6
- Global Const $OBJID_SOUND = 0xFFFFFFF5
-
- ; ===============================================================================================================================
- ; Virtual Keys Constants
- ; ===============================================================================================================================
-
- Global Const $VK_DOWN = 0x28
- Global Const $VK_END = 0x23
- Global Const $VK_HOME = 0x24
- Global Const $VK_LEFT = 0x25
- Global Const $VK_NEXT = 0x22
- Global Const $VK_PRIOR = 0x21
- Global Const $VK_RIGHT = 0x27
- Global Const $VK_UP = 0x26
-
- ; ===============================================================================================================================
- ; Message Box Constants
- ; ===============================================================================================================================
-
- ; Indicates the buttons displayed in the message box
- Global Const $MB_OK = 0 ; One push button: OK
- Global Const $MB_OKCANCEL = 1 ; Two push buttons: OK and Cancel
- Global Const $MB_ABORTRETRYIGNORE = 2 ; Three push buttons: Abort, Retry, and Ignore
- Global Const $MB_YESNOCANCEL = 3 ; Three push buttons: Yes, No, and Cancel
- Global Const $MB_YESNO = 4 ; Two push buttons: Yes and No
- Global Const $MB_RETRYCANCEL = 5 ; Two push buttons: Retry and Cancel
-
- ; Displays an icon in the message box
- Global Const $MB_ICONHAND = 16 ; Stop-sign icon
- Global Const $MB_ICONQUESTION = 32 ; Question-mark icon
- Global Const $MB_ICONEXCLAMATION = 48 ; Exclamation-point icon
- Global Const $MB_ICONASTERISK = 64 ; Icon consisting of an 'i' in a circle
-
- ; Indicates the default button
- Global Const $MB_DEFBUTTON1 = 0 ; The first button is the default button
- Global Const $MB_DEFBUTTON2 = 256 ; The second button is the default button
- Global Const $MB_DEFBUTTON3 = 512 ; The third button is the default button
-
- ; Indicates the modality of the dialog box
- Global Const $MB_APPLMODAL = 0 ; Application modal
- Global Const $MB_SYSTEMMODAL = 4096 ; System modal
- Global Const $MB_TASKMODAL = 8192 ; Task modal
-
- ; Indicates miscellaneous message box attributes
- Global Const $MB_TOPMOST = 262144 ; top-most attribute
- Global Const $MB_RIGHTJUSTIFIED = 524288 ; right-justified title and text
-
- ; Indicates the button selected in the message box
- Global Const $IDTIMEOUT = -1 ; The message box timed out
- Global Const $IDOK = 1 ; OK button was selected
- Global Const $IDCANCEL = 2 ; Cancel button was selected
- Global Const $IDABORT = 3 ; Abort button was selected
- Global Const $IDRETRY = 4 ; Retry button was selected
- Global Const $IDIGNORE = 5 ; Ignore button was selected
- Global Const $IDYES = 6 ; Yes button was selected
- Global Const $IDNO = 7 ; No button was selected
- Global Const $IDTRYAGAIN = 10 ; Try Again button was selected
- Global Const $IDCONTINUE = 11 ; Continue button was selected
-
-
- ; ===============================================================================================================================
- ; Progress and Splash Constants
- ; ===============================================================================================================================
-
- ; Indicates properties of the displayed progress or splash dialog
- Global Const $DLG_NOTITLE = 1 ; Titleless window
- Global Const $DLG_NOTONTOP = 2 ; Without "always on top" attribute
- Global Const $DLG_TEXTLEFT = 4 ; Left justified text
- Global Const $DLG_TEXTRIGHT = 8 ; Right justified text
- Global Const $DLG_MOVEABLE = 16 ; Window can be moved
- Global Const $DLG_TEXTVCENTER = 32 ; Splash text centered vertically
-
-
- ; ===============================================================================================================================
- ; Tray Tip Constants
- ; ===============================================================================================================================
-
- ; Indicates the type of Balloon Tip to display
- Global Const $TIP_ICONNONE = 0 ; No icon (default)
- Global Const $TIP_ICONASTERISK = 1 ; Info icon
- Global Const $TIP_ICONEXCLAMATION = 2 ; Warning icon
- Global Const $TIP_ICONHAND = 3 ; Error icon
- Global Const $TIP_NOSOUND = 16 ; No sound
-
-
- ; ===============================================================================================================================
- ; Mouse Constants
- ; ===============================================================================================================================
-
- ; Indicates current mouse cursor
- Global Const $IDC_UNKNOWN = 0 ; Unknown cursor
- Global Const $IDC_APPSTARTING = 1 ; Standard arrow and small hourglass
- Global Const $IDC_ARROW = 2 ; Standard arrow
- Global Const $IDC_CROSS = 3 ; Crosshair
- Global Const $IDC_HAND = 32649 ; Hand cursor
- Global Const $IDC_HELP = 4 ; Arrow and question mark
- Global Const $IDC_IBEAM = 5 ; I-beam
- Global Const $IDC_ICON = 6 ; Obsolete
- Global Const $IDC_NO = 7 ; Slashed circle
- Global Const $IDC_SIZE = 8 ; Obsolete
- Global Const $IDC_SIZEALL = 9 ; Four-pointed arrow pointing N, S, E, and W
- Global Const $IDC_SIZENESW = 10 ; Double-pointed arrow pointing NE and SW
- Global Const $IDC_SIZENS = 11 ; Double-pointed arrow pointing N and S
- Global Const $IDC_SIZENWSE = 12 ; Double-pointed arrow pointing NW and SE
- Global Const $IDC_SIZEWE = 13 ; Double-pointed arrow pointing W and E
- Global Const $IDC_UPARROW = 14 ; Vertical arrow
- Global Const $IDC_WAIT = 15 ; Hourglass
-
- Global Const $IDI_APPLICATION = 32512 ; Application icon
- Global Const $IDI_ASTERISK = 32516 ; Asterisk icon
- Global Const $IDI_EXCLAMATION = 32515 ; Exclamation point icon
- Global Const $IDI_HAND = 32513 ; Stop sign icon
- Global Const $IDI_QUESTION = 32514 ; Question-mark icon
- Global Const $IDI_WINLOGO = 32517 ; Windows logo icon. Windows XP: Application icon
-
-
- ; ===============================================================================================================================
- ; Process Constants
- ; ===============================================================================================================================
-
- ; Indicates the type of shutdown
- Global Const $SD_LOGOFF = 0 ; Logoff
- Global Const $SD_SHUTDOWN = 1 ; Shutdown
- Global Const $SD_REBOOT = 2 ; Reboot
- Global Const $SD_FORCE = 4 ; Force
- Global Const $SD_POWERDOWN = 8 ; Power down
-
- ; ===============================================================================================================================
- ; OpenProcess Constants
- ; ===============================================================================================================================
-
- Global Const $PROCESS_TERMINATE = 0x00000001
- Global Const $PROCESS_CREATE_THREAD = 0x00000002
- Global Const $PROCESS_SET_SESSIONID = 0x00000004
- Global Const $PROCESS_VM_OPERATION = 0x00000008
- Global Const $PROCESS_VM_READ = 0x00000010
- Global Const $PROCESS_VM_WRITE = 0x00000020
- Global Const $PROCESS_DUP_HANDLE = 0x00000040
- Global Const $PROCESS_CREATE_PROCESS = 0x00000080
- Global Const $PROCESS_SET_QUOTA = 0x00000100
- Global Const $PROCESS_SET_INFORMATION = 0x00000200
- Global Const $PROCESS_QUERY_INFORMATION = 0x00000400
- Global Const $PROCESS_SUSPEND_RESUME = 0x00000800
- Global Const $PROCESS_ALL_ACCESS = 0x001F0FFF
-
-
- ; ===============================================================================================================================
- ; String Constants
- ; ===============================================================================================================================
-
- ; Indicates if string operations should be case sensitive
- Global Const $STR_NOCASESENSE = 0 ; Not case sensitive (default)
- Global Const $STR_CASESENSE = 1 ; Case sensitive
-
- ; IndicateS the type of stripping that should be performed
- Global Const $STR_STRIPLEADING = 1 ; Strip leading whitespace
- Global Const $STR_STRIPTRAILING = 2 ; Strip trailing whitespace
- Global Const $STR_STRIPSPACES = 4 ; Strip double (or more) spaces between words
- Global Const $STR_STRIPALL = 8 ; Strip all spaces (over-rides all other flags)
-
- ; ===============================================================================================================================
- ; Token Constants
- ; ===============================================================================================================================
-
- Global Const $TOKEN_ASSIGN_PRIMARY = 0x00000001
- Global Const $TOKEN_DUPLICATE = 0x00000002
- Global Const $TOKEN_IMPERSONATE = 0x00000004
- Global Const $TOKEN_QUERY = 0x00000008
- Global Const $TOKEN_QUERY_SOURCE = 0x00000010
- Global Const $TOKEN_ADJUST_PRIVILEGES = 0x00000020
- Global Const $TOKEN_ADJUST_GROUPS = 0x00000040
- Global Const $TOKEN_ADJUST_DEFAULT = 0x00000080
- Global Const $TOKEN_ADJUST_SESSIONID = 0x00000100
-
- ; ===============================================================================================================================
- ; Tray Constants
- ; ===============================================================================================================================
-
- ; Tray predefined ID's
- Global Const $TRAY_ITEM_EXIT = 3
- Global Const $TRAY_ITEM_PAUSE = 4
- Global Const $TRAY_ITEM_FIRST = 7
-
- ; Tray menu/item state values
- Global Const $TRAY_CHECKED = 1
- Global Const $TRAY_UNCHECKED = 4
- Global Const $TRAY_ENABLE = 64
- Global Const $TRAY_DISABLE = 128
- Global Const $TRAY_FOCUS = 256
- Global Const $TRAY_DEFAULT = 512
-
- ; Tray event values
- Global Const $TRAY_EVENT_SHOWICON = -3
- Global Const $TRAY_EVENT_HIDEICON = -4
- Global Const $TRAY_EVENT_FLASHICON = -5
- Global Const $TRAY_EVENT_NOFLASHICON = -6
- Global Const $TRAY_EVENT_PRIMARYDOWN = -7
- Global Const $TRAY_EVENT_PRIMARYUP = -8
- Global Const $TRAY_EVENT_SECONDARYDOWN = -9
- Global Const $TRAY_EVENT_SECONDARYUP = -10
- Global Const $TRAY_EVENT_MOUSEOVER = -11
- Global Const $TRAY_EVENT_MOUSEOUT = -12
- Global Const $TRAY_EVENT_PRIMARYDOUBLE = -13
- Global Const $TRAY_EVENT_SECONDARYDOUBLE = -14
-
- ; ===============================================================================================================================
- ; STDIO Constants
- ; ===============================================================================================================================
-
- Global Const $STDIN_CHILD = 1
- Global Const $STDOUT_CHILD = 2
- Global Const $STDERR_CHILD = 4
- Global Const $STDERR_MERGED = 8
-
- ; ===============================================================================================================================
- ; Colour Constants
- ; ===============================================================================================================================
-
- ; Colour Constants RGB Hex
- Global Const $COLOR_AQUA = 0x00FFFF
- Global Const $COLOR_BLACK = 0x000000
- Global Const $COLOR_BLUE = 0x0000FF
- Global Const $COLOR_CREAM = 0xFFFBF0
- Global Const $COLOR_FUCHSIA = 0xFF00FF
- Global Const $COLOR_GRAY = 0x808080
- Global Const $COLOR_GREEN = 0x008000
- Global Const $COLOR_LIME = 0x00FF00
- ;~ Global Const $COLOR_MAROON = 0x800000
- Global Const $COLOR_MAROON = 0x8B1C62
- Global Const $COLOR_MEDBLUE = 0x0002C4
- Global Const $COLOR_MEDGRAY = 0xA0A0A4
- Global Const $COLOR_MONEYGREEN = 0xC0DCC0
- Global Const $COLOR_NAVY = 0x000080
- Global Const $COLOR_OLIVE = 0x808000
- Global Const $COLOR_PURPLE = 0x800080
- Global Const $COLOR_RED = 0xFF0000
- Global Const $COLOR_SILVER = 0xC0C0C0
- Global Const $COLOR_SKYBLUE = 0xA6CAF0
- Global Const $COLOR_TEAL = 0x008080
- Global Const $COLOR_WHITE = 0xFFFFFF
- Global Const $COLOR_YELLOW = 0xFFFF00
-
- Global Const $CLR_NONE = 0xFFFFFFFF
-
- ; Color Constants BGR Hex
- Global Const $CLR_AQUA = 0xFFFF00
- Global Const $CLR_BLACK = 0x000000
- Global Const $CLR_BLUE = 0xFF0000
- Global Const $CLR_CREAM = 0xF0FBFF
- Global Const $CLR_DEFAULT = 0xFF000000
- Global Const $CLR_FUCHSIA = 0xFF00FF
- Global Const $CLR_GRAY = 0x808080
- Global Const $CLR_GREEN = 0x008000
- Global Const $CLR_LIME = 0x00FF00
- ;~ Global Const $CLR_MAROON = 0x000080
- Global Const $CLR_MAROON = 0x621C8B
- Global Const $CLR_MEDBLUE = 0xC40200
- Global Const $CLR_MEDGRAY = 0xA4A0A0
- Global Const $CLR_MONEYGREEN = 0xC0DCC0
- Global Const $CLR_NAVY = 0x800000
- Global Const $CLR_OLIVE = 0x008080
- Global Const $CLR_PURPLE = 0x800080
- Global Const $CLR_RED = 0x0000FF
- Global Const $CLR_SILVER = 0xC0C0C0
- Global Const $CLR_SKYBLUE = 0xF0CAA6
- Global Const $CLR_TEAL = 0x808000
- Global Const $CLR_WHITE = 0xFFFFFF
- Global Const $CLR_YELLOW = 0x00FFFF
-
- ; Color Dialog constants
- Global Const $CC_ANYCOLOR = 0x100
- Global Const $CC_FULLOPEN = 0x2
- Global Const $CC_RGBINIT = 0x1
-
- ; ===============================================================================================================================
- ; Mouse Event Constants
- ; ===============================================================================================================================
-
- Global Const $MOUSEEVENTF_ABSOLUTE = 0x8000 ; Specifies that the dx and dy parameters contain normalized absolute coordinates
- Global Const $MOUSEEVENTF_MOVE = 0x1 ; Specifies that movement occurred
- Global Const $MOUSEEVENTF_LEFTDOWN = 0x2 ; Specifies that the left button changed to down
- Global Const $MOUSEEVENTF_LEFTUP = 0x4 ; Specifies that the left button changed to up
- Global Const $MOUSEEVENTF_RIGHTDOWN = 0x8 ; Specifies that the right button changed to down
- Global Const $MOUSEEVENTF_RIGHTUP = 0x10 ; Specifies that the right button changed to up
- Global Const $MOUSEEVENTF_MIDDLEDOWN = 0x20 ; Specifies that the middle button changed to down
- Global Const $MOUSEEVENTF_MIDDLEUP = 0x40 ; Specifies that the middle button changed to up
- Global Const $MOUSEEVENTF_WHEEL = 0x800 ; Specifies that the wheel has been moved, if the mouse has a wheel
- Global Const $MOUSEEVENTF_XDOWN = 0x80 ; Specifies that an X button was pressed
- Global Const $MOUSEEVENTF_XUP = 0x100 ; Specifies that an X button was released
-
- ; ===============================================================================================================================
- ; Reg Value type Constants
- ; ===============================================================================================================================
-
- Global Const $REG_NONE = 0
- Global Const $REG_SZ = 1
- Global Const $REG_EXPAND_SZ = 2
- Global Const $REG_BINARY = 3
- Global Const $REG_DWORD = 4
- Global Const $REG_DWORD_BIG_ENDIAN = 5
- Global Const $REG_LINK = 6
- Global Const $REG_MULTI_SZ = 7
- Global Const $REG_RESOURCE_LIST = 8
- Global Const $REG_FULL_RESOURCE_DESCRIPTOR = 9
- Global Const $REG_RESOURCE_REQUIREMENTS_LIST = 10
-
- ; ===============================================================================================================================
- ; Z order
- ; ===============================================================================================================================
- Global Const $HWND_BOTTOM = 1 ; Places the window at the bottom of the Z order
- Global Const $HWND_NOTOPMOST = -2 ; Places the window above all non-topmost windows
- Global Const $HWND_TOP = 0 ; Places the window at the top of the Z order
- Global Const $HWND_TOPMOST = -1 ; Places the window above all non-topmost windows
-
- ; ===============================================================================================================================
- ; SetWindowPos Constants
- ; ===============================================================================================================================
-
- Global Const $SWP_NOSIZE = 0x0001
- Global Const $SWP_NOMOVE = 0x0002
- Global Const $SWP_NOZORDER = 0x0004
- Global Const $SWP_NOREDRAW = 0x0008
- Global Const $SWP_NOACTIVATE = 0x0010
- Global Const $SWP_FRAMECHANGED = 0x0020
- Global Const $SWP_DRAWFRAME = 0x0020
- Global Const $SWP_SHOWWINDOW = 0x0040
- Global Const $SWP_HIDEWINDOW = 0x0080
- Global Const $SWP_NOCOPYBITS = 0x0100
- Global Const $SWP_NOOWNERZORDER = 0x0200
- Global Const $SWP_NOREPOSITION = 0x0200
- Global Const $SWP_NOSENDCHANGING = 0x0400
- Global Const $SWP_DEFERERASE = 0x2000
- Global Const $SWP_ASYNCWINDOWPOS = 0x4000
-
-
- ; ===============================================================================================================================
- ; language identifiers
- ; ===============================================================================================================================
-
- Global Const $LANG_AFRIKAANS = 0x36
- Global Const $LANG_ALBANIAN = 0x1c
- Global Const $LANG_ARABIC = 0x1
- Global Const $LANG_ARMENIAN = 0x2b
- Global Const $LANG_ASSAMESE = 0x4d
- Global Const $LANG_AZERI = 0x2c
- Global Const $LANG_BASQUE = 0x2d
- Global Const $LANG_BELARUSIAN = 0x23
- Global Const $LANG_BENGALI = 0x45
- Global Const $LANG_BULGARIAN = 0x2
- Global Const $LANG_CATALAN = 0x3
- Global Const $LANG_CHINESE = 0x4
- Global Const $LANG_CROATIAN = 0x1A
- Global Const $LANG_CZECH = 0x5
- Global Const $LANG_DANISH = 0x6
- Global Const $LANG_DUTCH = 0x13
- Global Const $LANG_ENGLISH = 0x9
- Global Const $LANG_ESTONIAN = 0x25
- Global Const $LANG_FAEROESE = 0x38
- Global Const $LANG_FARSI = 0x29
- Global Const $LANG_FINNISH = 0xB
- Global Const $LANG_FRENCH = 0xC
- Global Const $LANG_GEORGIAN = 0x37
- Global Const $LANG_GERMAN = 0x7
- Global Const $LANG_GREEK = 0x8
- Global Const $LANG_GUJARATI = 0x47
- Global Const $LANG_HEBREW = 0xd
- Global Const $LANG_HINDI = 0x39
- Global Const $LANG_HUNGARIAN = 0xE
- Global Const $LANG_ICELANDIC = 0xF
- Global Const $LANG_INDONESIAN = 0x21
- Global Const $LANG_ITALIAN = 0x10
- Global Const $LANG_JAPANESE = 0x11
- Global Const $LANG_KANNADA = 0x4b
- Global Const $LANG_KASHMIRI = 0x60
- Global Const $LANG_KAZAK = 0x3f
- Global Const $LANG_KONKANI = 0x57
- Global Const $LANG_KOREAN = 0x12
- Global Const $LANG_LATVIAN = 0x26
- Global Const $LANG_LITHUANIAN = 0x27
- Global Const $LANG_MACEDONIAN = 0x2f
- Global Const $LANG_MALAY = 0x3e
- Global Const $LANG_MALAYALAM = 0x4c
- Global Const $LANG_MANIPURI = 0x58
- Global Const $LANG_MARATHI = 0x4e
- Global Const $LANG_NEPALI = 0x61
- Global Const $LANG_NEUTRAL = 0x0
- Global Const $LANG_NORWEGIAN = 0x14
- Global Const $LANG_ORIYA = 0x48
- Global Const $LANG_POLISH = 0x15
- Global Const $LANG_PORTUGUESE = 0x16
- Global Const $LANG_PUNJABI = 0x46
- Global Const $LANG_ROMANIAN = 0x18
- Global Const $LANG_RUSSIAN = 0x19
- Global Const $LANG_SANSKRIT = 0x4f
- Global Const $LANG_SERBIAN = 0x1a
- Global Const $LANG_SINDHI = 0x59
- Global Const $LANG_SLOVAK = 0x1B
- Global Const $LANG_SLOVENIAN = 0x24
- Global Const $LANG_SPANISH = 0xA
- Global Const $LANG_SWAHILI = 0x41
- Global Const $LANG_SWEDISH = 0x1D
- Global Const $LANG_TAMIL = 0x49
- Global Const $LANG_TATAR = 0x44
- Global Const $LANG_TELUGU = 0x4a
- Global Const $LANG_THAI = 0x1e
- Global Const $LANG_TURKISH = 0x1F
- Global Const $LANG_UKRAINIAN = 0x22
- Global Const $LANG_URDU = 0x20
- Global Const $LANG_UZBEK = 0x43
- Global Const $LANG_VIETNAMESE = 0x2a
-
- ; ===============================================================================================================================
- ; sublanguage identifiers
- ; ===============================================================================================================================
- Global Const $SUBLANG_ARABIC_ALGERIA = 0x5
- Global Const $SUBLANG_ARABIC_BAHRAIN = 0xf
- Global Const $SUBLANG_ARABIC_EGYPT = 0x3
- Global Const $SUBLANG_ARABIC_IRAQ = 0x2
- Global Const $SUBLANG_ARABIC_JORDAN = 0xb
- Global Const $SUBLANG_ARABIC_KUWAIT = 0xd
- Global Const $SUBLANG_ARABIC_LEBANON = 0xc
- Global Const $SUBLANG_ARABIC_LIBYA = 0x4
- Global Const $SUBLANG_ARABIC_MOROCCO = 0x6
- Global Const $SUBLANG_ARABIC_OMAN = 0x8
- Global Const $SUBLANG_ARABIC_QATAR = 0x10
- Global Const $SUBLANG_ARABIC_SAUDI_ARABIA = 0x1
- Global Const $SUBLANG_ARABIC_SYRIA = 0xa
- Global Const $SUBLANG_ARABIC_TUNISIA = 0x7
- Global Const $SUBLANG_ARABIC_UAE = 0xe
- Global Const $SUBLANG_ARABIC_YEMEN = 0x9
- Global Const $SUBLANG_AZERI_CYRILLIC = 0x2
- Global Const $SUBLANG_AZERI_LATIN = 0x1
- Global Const $SUBLANG_CHINESE_HONGKONG = 0x3
- Global Const $SUBLANG_CHINESE_MACAU = 0x5
- Global Const $SUBLANG_CHINESE_SIMPLIFIED = 0x2
- Global Const $SUBLANG_CHINESE_SINGAPORE = 0x4
- Global Const $SUBLANG_CHINESE_TRADITIONAL = 0x1
- Global Const $SUBLANG_DEFAULT = 0x1
- Global Const $SUBLANG_DUTCH = 0x1
- Global Const $SUBLANG_DUTCH_BELGIAN = 0x2
- Global Const $SUBLANG_ENGLISH_AUS = 0x3
- Global Const $SUBLANG_ENGLISH_BELIZE = 0xa
- Global Const $SUBLANG_ENGLISH_CAN = 0x4
- Global Const $SUBLANG_ENGLISH_CARIBBEAN = 0x9
- Global Const $SUBLANG_ENGLISH_EIRE = 0x6
- Global Const $SUBLANG_ENGLISH_JAMAICA = 0x8
- Global Const $SUBLANG_ENGLISH_NZ = 0x5
- Global Const $SUBLANG_ENGLISH_PHILIPPINES = 0xd
- Global Const $SUBLANG_ENGLISH_SOUTH_AFRICA = 0x7
- Global Const $SUBLANG_ENGLISH_TRINIDAD = 0xb
- Global Const $SUBLANG_ENGLISH_UK = 0x2
- Global Const $SUBLANG_ENGLISH_US = 0x1
- Global Const $SUBLANG_ENGLISH_ZIMBABWE = 0xc
- Global Const $SUBLANG_FRENCH = 0x1
- Global Const $SUBLANG_FRENCH_BELGIAN = 0x2
- Global Const $SUBLANG_FRENCH_CANADIAN = 0x3
- Global Const $SUBLANG_FRENCH_LUXEMBOURG = 0x5
- Global Const $SUBLANG_FRENCH_MONACO = 0x6
- Global Const $SUBLANG_FRENCH_SWISS = 0x4
- Global Const $SUBLANG_GERMAN = 0x1
- Global Const $SUBLANG_GERMAN_AUSTRIAN = 0x3
- Global Const $SUBLANG_GERMAN_LIECHTENSTEIN = 0x5
- Global Const $SUBLANG_GERMAN_LUXEMBOURG = 0x4
- Global Const $SUBLANG_GERMAN_SWISS = 0x2
- Global Const $SUBLANG_ITALIAN = 0x1
- Global Const $SUBLANG_ITALIAN_SWISS = 0x2
- Global Const $SUBLANG_KASHMIRI_INDIA = 0x2
- Global Const $SUBLANG_KOREAN = 0x1
- Global Const $SUBLANG_LITHUANIAN = 0x1
- Global Const $SUBLANG_MALAY_BRUNEI_DARUSSALAM = 0x2
- Global Const $SUBLANG_MALAY_MALAYSIA = 0x1
- Global Const $SUBLANG_NEPALI_INDIA = 0x2
- Global Const $SUBLANG_NEUTRAL = 0x0
- Global Const $SUBLANG_NORWEGIAN_BOKMAL = 0x1
- Global Const $SUBLANG_NORWEGIAN_NYNORSK = 0x2
- Global Const $SUBLANG_PORTUGUESE = 0x2
- Global Const $SUBLANG_PORTUGUESE_BRAZILIAN = 0x1
- Global Const $SUBLANG_SERBIAN_CYRILLIC = 0x3
- Global Const $SUBLANG_SERBIAN_LATIN = 0x2
- Global Const $SUBLANG_SPANISH = 0x1
- Global Const $SUBLANG_SPANISH_ARGENTINA = 0xb
- Global Const $SUBLANG_SPANISH_BOLIVIA = 0x10
- Global Const $SUBLANG_SPANISH_CHILE = 0xd
- Global Const $SUBLANG_SPANISH_COLOMBIA = 0x9
- Global Const $SUBLANG_SPANISH_COSTA_RICA = 0x5
- Global Const $SUBLANG_SPANISH_DOMINICAN_REPUBLIC = 0x7
- Global Const $SUBLANG_SPANISH_ECUADOR = 0xc
- Global Const $SUBLANG_SPANISH_EL_SALVADOR = 0x11
- Global Const $SUBLANG_SPANISH_GUATEMALA = 0x4
- Global Const $SUBLANG_SPANISH_HONDURAS = 0x12
- Global Const $SUBLANG_SPANISH_MEXICAN = 0x2
- Global Const $SUBLANG_SPANISH_MODERN = 0x3
- Global Const $SUBLANG_SPANISH_NICARAGUA = 0x13
- Global Const $SUBLANG_SPANISH_PANAMA = 0x6
- Global Const $SUBLANG_SPANISH_PARAGUAY = 0xf
- Global Const $SUBLANG_SPANISH_PERU = 0xa
- Global Const $SUBLANG_SPANISH_PUERTO_RICO = 0x14
- Global Const $SUBLANG_SPANISH_URUGUAY = 0xe
- Global Const $SUBLANG_SPANISH_VENEZUELA = 0x8
- Global Const $SUBLANG_SWEDISH = 0x1
- Global Const $SUBLANG_SWEDISH_FINLAND = 0x2
- Global Const $SUBLANG_SYS_DEFAULT = 0x2
- Global Const $SUBLANG_URDU_INDIA = 0x2
- Global Const $SUBLANG_URDU_PAKISTAN = 0x1
- Global Const $SUBLANG_UZBEK_CYRILLIC = 0x2
-
- ; Sorting IDs. (from WINNT.H)
- Global Const $SORT_DEFAULT = 0x0 ; sorting default
- Global Const $SORT_JAPANESE_XJIS = 0x0 ; Japanese XJIS order
- Global Const $SORT_JAPANESE_UNICODE = 0x1 ; Japanese Unicode order
- Global Const $SORT_CHINESE_BIG5 = 0x0 ; Chinese BIG5 order
- Global Const $SORT_CHINESE_PRCP = 0x0 ; PRC Chinese Phonetic order
- Global Const $SORT_CHINESE_UNICODE = 0x1 ; Chinese Unicode order
- Global Const $SORT_CHINESE_PRC = 0x2 ; PRC Chinese Stroke Count order
- Global Const $SORT_KOREAN_KSC = 0x0 ; Korean KSC order
- Global Const $SORT_KOREAN_UNICODE = 0x1 ; Korean Unicode order
- Global Const $SORT_GERMAN_PHONE_BOOK = 0x1 ; German Phone Book order
- Global Const $SORT_HUNGARIAN_DEFAULT = 0x0 ; Hungarian Default order
- Global Const $SORT_HUNGARIAN_TECHNICAL = 0x1 ; Hungarian Technical order
- Global Const $SORT_GEORGIAN_TRADITIONAL = 0x0 ; Georgian Traditional order
- Global Const $SORT_GEORGIAN_MODERN = 0x1 ; Georgian Modern order
-
- ; ===============================================================================================================================