Constants


Window classes constants

	EDIT_CLASS         = "Edit"
	TABCTRL_CLASS      = "SysTabControl32"
	LISTVIEW_CLASS     = "SysListView32"
	LISTHEADER_CLASS   = "SysHeader32"
	BUTTON_CLASS       = "Button"
	STATIC_CLASS       = "Static"
	TREE_CLASS         = "SysTreeView32"
	DIALOG_CLASS       = "#32770"
	MENU_CLASS         = "#32768"
	RICHEDIT_CLASS     = "RichEdit"
	RICHEDITW_CLASS    = "RichEdit20W"
	RICHEDITA_CLASS    = "RichEdit20A"
	MSHTML_CLASS       = "Internet Explorer_Server"
	COMBOBOX_CLASS     = "ComboBox"
	LISTBOX_CLASS      = "ListBox"
	TOOLBAR_CLASS      = "ToolbarWindow32"
	TOOLTIP_CLASS      = "tooltips_class32"

Time constants

	INFINITE           = -1

Mouse constants

	MB_LEFTBUTTON      = 0
	MB_MIDDLEBUTTON	   = 1
	MB_RIGHTBUTTON	   = 2

Accessibility constants

	OBJID_WINDOW        = 0x00000000
	OBJID_SELF          = 0x00000000
	OBJID_SYSMENU       = 0xFFFFFFFF
	OBJID_TITLEBAR      = 0xFFFFFFFE
	OBJID_MENU          = 0xFFFFFFFD
	OBJID_CLIENT        = 0xFFFFFFFC
	OBJID_VSCROLL       = 0xFFFFFFFB
	OBJID_HSCROLL       = 0xFFFFFFFA
	OBJID_SIZEGRIP      = 0xFFFFFFF9
	OBJID_CARET         = 0xFFFFFFF8
	OBJID_CURSOR        = 0xFFFFFFF7
	OBJID_ALERT         = 0xFFFFFFF6
	OBJID_SOUND         = 0xFFFFFFF5
	OBJID_QUERYCLASSNAMEIDX = 0xFFFFFFF4
	OBJID_NATIVEOM      = 0xFFFFFFF0

	NAVDIR_UP           = 0x00000001
	NAVDIR_DOWN         = 0x00000002
	NAVDIR_LEFT         = 0x00000003
	NAVDIR_RIGHT        = 0x00000004
	NAVDIR_NEXT         = 0x00000005
	NAVDIR_PREVIOUS     = 0x00000006
	NAVDIR_FIRSTCHILD   = 0x00000007
	NAVDIR_LASTCHILD    = 0x00000008

	SELFLAG_NONE                    = 0x00000000
	SELFLAG_TAKEFOCUS               = 0x00000001
	SELFLAG_TAKESELECTION           = 0x00000002
	SELFLAG_EXTENDSELECTION         = 0x00000004
	SELFLAG_ADDSELECTION            = 0x00000008
	SELFLAG_REMOVESELECTION         = 0x00000010
	SELFLAG_VALID                   = 0x0000001F

	STATE_SYSTEM_UNAVAILABLE        = 0x00000001
	STATE_SYSTEM_SELECTED           = 0x00000002
	STATE_SYSTEM_FOCUSED            = 0x00000004
	STATE_SYSTEM_PRESSED            = 0x00000008
	STATE_SYSTEM_CHECKED            = 0x00000010
	STATE_SYSTEM_MIXED              = 0x00000020
	STATE_SYSTEM_READONLY           = 0x00000040
	STATE_SYSTEM_HOTTRACKED         = 0x00000080
	STATE_SYSTEM_DEFAULT            = 0x00000100
	STATE_SYSTEM_EXPANDED           = 0x00000200
	STATE_SYSTEM_COLLAPSED          = 0x00000400
	STATE_SYSTEM_BUSY               = 0x00000800
	STATE_SYSTEM_FLOATING           = 0x00001000
	STATE_SYSTEM_MARQUEED           = 0x00002000
	STATE_SYSTEM_ANIMATED           = 0x00004000
	STATE_SYSTEM_INVISIBLE          = 0x00008000
	STATE_SYSTEM_OFFSCREEN          = 0x00010000
	STATE_SYSTEM_SIZEABLE           = 0x00020000
	STATE_SYSTEM_MOVEABLE           = 0x00040000
	STATE_SYSTEM_SELFVOICING        = 0x00080000
	STATE_SYSTEM_FOCUSABLE          = 0x00100000
	STATE_SYSTEM_SELECTABLE         = 0x00200000
	STATE_SYSTEM_LINKED             = 0x00400000
	STATE_SYSTEM_TRAVERSED          = 0x00800000
	STATE_SYSTEM_MULTISELECTABLE    = 0x01000000
	STATE_SYSTEM_EXTSELECTABLE      = 0x02000000
	STATE_SYSTEM_ALERT_LOW          = 0x04000000
	STATE_SYSTEM_ALERT_MEDIUM       = 0x08000000
	STATE_SYSTEM_ALERT_HIGH         = 0x10000000
	STATE_SYSTEM_VALID              = 0x1FFFFFFF

	ROLE_SYSTEM_TITLEBAR            = 0x00000001
	ROLE_SYSTEM_MENUBAR             = 0x00000002
	ROLE_SYSTEM_SCROLLBAR           = 0x00000003
	ROLE_SYSTEM_GRIP                = 0x00000004
	ROLE_SYSTEM_SOUND               = 0x00000005
	ROLE_SYSTEM_CURSOR              = 0x00000006
	ROLE_SYSTEM_CARET               = 0x00000007
	ROLE_SYSTEM_ALERT               = 0x00000008
	ROLE_SYSTEM_WINDOW              = 0x00000009
	ROLE_SYSTEM_CLIENT              = 0x0000000A
	ROLE_SYSTEM_MENUPOPUP           = 0x0000000B
	ROLE_SYSTEM_MENUITEM            = 0x0000000C
	ROLE_SYSTEM_TOOLTIP             = 0x0000000D
	ROLE_SYSTEM_APPLICATION         = 0x0000000E
	ROLE_SYSTEM_DOCUMENT            = 0x0000000F
	ROLE_SYSTEM_PANE                = 0x00000010
	ROLE_SYSTEM_CHART               = 0x00000011
	ROLE_SYSTEM_DIALOG              = 0x00000012
	ROLE_SYSTEM_BORDER              = 0x00000013
	ROLE_SYSTEM_GROUPING            = 0x00000014
	ROLE_SYSTEM_SEPARATOR           = 0x00000015
	ROLE_SYSTEM_TOOLBAR             = 0x00000016
	ROLE_SYSTEM_STATUSBAR           = 0x00000017
	ROLE_SYSTEM_TABLE               = 0x00000018
	ROLE_SYSTEM_COLUMNHEADER        = 0x00000019
	ROLE_SYSTEM_ROWHEADER           = 0x0000001A
	ROLE_SYSTEM_COLUMN              = 0x0000001B
	ROLE_SYSTEM_ROW                 = 0x0000001C
	ROLE_SYSTEM_CELL                = 0x0000001D
	ROLE_SYSTEM_LINK                = 0x0000001E
	ROLE_SYSTEM_HELPBALLOON         = 0x0000001F
	ROLE_SYSTEM_CHARACTER           = 0x00000020
	ROLE_SYSTEM_LIST                = 0x00000021
	ROLE_SYSTEM_LISTITEM            = 0x00000022
	ROLE_SYSTEM_OUTLINE             = 0x00000023
	ROLE_SYSTEM_OUTLINEITEM         = 0x00000024
	ROLE_SYSTEM_PAGETAB             = 0x00000025
	ROLE_SYSTEM_PROPERTYPAGE        = 0x00000026
	ROLE_SYSTEM_INDICATOR           = 0x00000027
	ROLE_SYSTEM_GRAPHIC             = 0x00000028
	ROLE_SYSTEM_STATICTEXT          = 0x00000029
	ROLE_SYSTEM_TEXT                = 0x0000002A
	ROLE_SYSTEM_PUSHBUTTON          = 0x0000002B
	ROLE_SYSTEM_CHECKBUTTON         = 0x0000002C
	ROLE_SYSTEM_RADIOBUTTON         = 0x0000002D
	ROLE_SYSTEM_COMBOBOX            = 0x0000002E
	ROLE_SYSTEM_DROPLIST            = 0x0000002F
	ROLE_SYSTEM_PROGRESSBAR         = 0x00000030
	ROLE_SYSTEM_DIAL                = 0x00000031
	ROLE_SYSTEM_HOTKEYFIELD         = 0x00000032
	ROLE_SYSTEM_SLIDER              = 0x00000033
	ROLE_SYSTEM_SPINBUTTON          = 0x00000034
	ROLE_SYSTEM_DIAGRAM             = 0x00000035
	ROLE_SYSTEM_ANIMATION           = 0x00000036
	ROLE_SYSTEM_EQUATION            = 0x00000037
	ROLE_SYSTEM_BUTTONDROPDOWN      = 0x00000038
	ROLE_SYSTEM_BUTTONMENU          = 0x00000039
	ROLE_SYSTEM_BUTTONDROPDOWNGRID  = 0x0000003A
	ROLE_SYSTEM_WHITESPACE          = 0x0000003B
	ROLE_SYSTEM_PAGETABLIST         = 0x0000003C
	ROLE_SYSTEM_CLOCK               = 0x0000003D

TOM (richedit) constants

	tomFalse                        = 0
	tomTrue                         = -1
	tomUndefined                    = -9999999
	tomToggle                       = -9999998
	tomAutoColor                    = -9999997
	tomDefault                      = -9999996
	tomBackward                     = -1073741823
	tomForward                      = 1073741823
	tomMove                         = 0
	tomExtend                       = 1
	tomNoSelection                  = 0
	tomSelectionIP                  = 1
	tomSelectionNormal              = 2
	tomSelectionFrame               = 3
	tomSelectionColumn              = 4
	tomSelectionRow                 = 5
	tomSelectionBlock               = 6
	tomSelectionInlineShape         = 7
	tomSelectionShape               = 8
	tomSelStartActive               = 1
	tomSelAtEOL                     = 2
	tomSelOvertype                  = 4
	tomSelActive                    = 8
	tomSelReplace                   = 16
	tomEnd                          = 0
	tomStart                        = 32
	tomCollapseEnd                  = 0
	tomCollapseStart                = 1
	tomNone                         = 0
	tomSingle                       = 1
	tomWords                        = 2
	tomDouble                       = 3
	tomDotted                       = 4
	tomLineSpaceSingle              = 0
	tomLineSpace1pt5                = 1
	tomLineSpaceDouble              = 2
	tomLineSpaceAtLeast             = 3
	tomLineSpaceExactly             = 4
	tomLineSpaceMultiple            = 5
	tomAlignLeft                    = 0
	tomAlignCenter                  = 1
	tomAlignRight                   = 2
	tomAlignJustify                 = 3
	tomAlignDecimal                 = 3
	tomAlignBar                     = 4
	tomSpaces                       = 0
	tomDots                         = 1
	tomDashes                       = 2
	tomLines                        = 3
	tomTabBack                      = -3
	tomTabNext                      = -2
	tomTabHere                      = -1
	tomListNone                     = 0
	tomListBullet                   = 1
	tomListNumberAsArabic           = 2
	tomListNumberAsLCLetter         = 3
	tomListNumberAsUCLetter         = 4
	tomListNumberAsLCRoman          = 5
	tomListNumberAsUCRoman          = 6
	tomListNumberAsSequence         = 7
	tomListParentheses              = 65536
	tomListPeriod                   = 131072
	tomListPlain                    = 196608
	tomCharacter                    = 1
	tomWord                         = 2
	tomSentence                     = 3
	tomParagraph                    = 4
	tomLine                         = 5
	tomStory                        = 6
	tomScreen                       = 7
	tomSection                      = 8
	tomColumn                       = 9
	tomRow                          = 10
	tomWindow                       = 11
	tomCell                         = 12
	tomCharFormat                   = 13
	tomParaFormat                   = 14
	tomTable                        = 15
	tomObject                       = 16
	tomMatchWord                    = 2
	tomMatchCase                    = 4
	tomMatchPattern                 = 8
	tomUnknownStory                 = 0
	tomMainTextStory                = 1
	tomFootnotesStory               = 2
	tomEndnotesStory                = 3
	tomCommentsStory                = 4
	tomTextFrameStory               = 5
	tomEvenPagesHeaderStory         = 6
	tomPrimaryHeaderStory           = 7
	tomEvenPagesFooterStory         = 8
	tomPrimaryFooterStory           = 9
	tomFirstPageHeaderStory         = 10
	tomFirstPageFooterStory         = 11
	tomNoAnimation                  = 0
	tomLasVegasLights               = 1
	tomBlinkingBackground           = 2
	tomSparkleText                  = 3
	tomMarchingBlackAnts            = 4
	tomMarchingRedAnts              = 5
	tomShimmer                      = 6
	tomWipeDown                     = 7
	tomWipeRight                    = 8
	tomAnimationMax                 = 8
	tomLowerCase                    = 0
	tomUpperCase                    = 1
	tomTitleCase                    = 2
	tomSentenceCase                 = 4
	tomToggleCase                   = 5
	tomReadOnly                     = 256
	tomShareDenyRead                = 512
	tomShareDenyWrite               = 1024
	tomPasteFile                    = 4096
	tomCreateNew                    = 16
	tomCreateAlways                 = 32
	tomOpenExisting                 = 48
	tomOpenAlways                   = 64
	tomTruncateExisting             = 80
	tomRTF                          = 1
	tomText                         = 2
	tomHTML                         = 3
	tomWordDocument                 = 4

 


2003 Lightweight Technologies. All rights reserved.