************************************************************************************
************************************************************************************
** **
** ================ =========== **
** == === == == **
** == = == == **
** == == == **
** == === ===== ===== == == === ==== === **
** ===== == == == == ========= == == == == == **
** == == == == == == === == == **
** == == == === == == == == **
** == == == == == == == == == **
** == == == == == == == == == **
** ======= === ===== ==== ====== ====== === **
** **
************************************************************************************
************************************************************************************
************************************************************************************
************************************************************************************
** **
** Visual FoxPro Named Constant File **
** This file contains named constants for most Visual FoxPro functions **
** **
************************************************************************************
************************************************************************************
*-- General
*-- DragOver
#DEFINE DRAG_ENTER 0
#DEFINE DRAG_LEAVE 1
#DEFINE DRAG_OVER 2
*-- Drag (controls)
#DEFINE DRAG_CANCEL 0
#DEFINE DRAG_BEGIN 1
#DEFINE DRAG_END 2
*--ZOrder Method
#DEFINE ZORDER_BRINGTOFRONT 0
#DEFINE ZORDER_SENDTOBACK 1
*-- TYPE() tags
#DEFINE T_CHARACTER "C"
#DEFINE T_NUMERIC "N"
#DEFINE T_DOUBLE "B"
#DEFINE T_DATE "D"
#DEFINE T_DATETIME "T"
#DEFINE T_MEMO "M"
#DEFINE T_GENERAL "G"
#DEFINE T_OBJECT "O"
#DEFINE T_SCREEN "S"
#DEFINE T_LOGICAL "L"
#DEFINE T_CURRENCY "Y"
#DEFINE T_UNDEFINED "U"
*-- QueryUnload
#DEFINE FORM_CONTROLMENU 0
#DEFINE FORM_CODE 1
#DEFINE APP_WINDOWS 2
#DEFINE APP_TASKMANAGER 3
#DEFINE FORM_MDIFORM 4
*-- Properties
*-- Colors
#DEFINE COLOR_WHITE 16777215
#DEFINE COLOR_BLACK 0
#DEFINE COLOR_GRAY 12632256
#DEFINE COLOR_DARK_GRAY 8421504
#DEFINE COLOR_RED 255
#DEFINE COLOR_DARK_BLUE 8388608
#DEFINE COLOR_CYAN 16776960
#DEFINE COLOR_DARK_CYAN 8421376
#DEFINE COLOR_GREEN 65280
#DEFINE COLOR_DARK_GREEN 32768
#DEFINE COLOR_YELLOW 65535
#DEFINE COLOR_DARK_YELLOW 32896
#DEFINE COLOR_BLUE 16711680
#DEFINE COLOR_DARK_RED 128
#DEFINE COLOR_MAGENTA 16711935
#DEFINE COLOR_DARK_MAGENTA 8388736
*-- MousePointer
#DEFINE MOUSE_DEFAULT 0 && 0 - Default
#DEFINE MOUSE_ARROW 1 && 1 - Arrow
#DEFINE MOUSE_CROSSHAIR 2 && 2 - Cross
#DEFINE MOUSE_IBEAM 3 && 3 - I-Beam
#DEFINE MOUSE_ICON_POINTER 4 && 4 - Icon
#DEFINE MOUSE_SIZE_POINTER 5 && 5 - Size
#DEFINE MOUSE_SIZE_NE_SW 6 && 6 - Size NE SW
#DEFINE MOUSE_SIZE_N_S 7 && 7 - Size N S
#DEFINE MOUSE_SIZE_NW_SE 8 && 8 - Size NW SE
#DEFINE MOUSE_SIZE_W_E 9 && 9 - Size W E
#DEFINE MOUSE_UP_ARROW 10 && 10 - Up Arrow
#DEFINE MOUSE_HOURGLASS 11 && 11 - Hourglass
#DEFINE MOUSE_NO_DROP 12 && 12 - No drop
*-- DragMode
#DEFINE DRAG_MANUAL 0 && 0 - Manual
#DEFINE DRAG_AUTOMATIC 1 && 1 - Automatic
*-- DrawMode
#DEFINE DRAWMODE_BLACKNESS 1 && 1 - Blackness
#DEFINE DRAWMODE_NOT_MERGE_PEN 2 && 2 - Not Merge Pen
#DEFINE DRAWMODE_MASK_NOT_PEN 3 && 3 - Mask Not Pen
#DEFINE DRAWMODE_NOT_COPY_PEN 4 && 4 - Not Copy Pen
#DEFINE DRAWMODE_MASK_PEN_NOT 5 && 5 - Mask Pen Not
#DEFINE DRAWMODE_INVERT 6 && 6 - Invert
#DEFINE DRAWMODE_XOR_PEN 7 && 7 - Xor Pen
#DEFINE DRAWMODE_NOT_MASK_PEN 8 && 8 - Not Mask Pen
#DEFINE DRAWMODE_MASK_PEN 9 && 9 - Mask Pen
#DEFINE DRAWMODE_NOT_XOR_PEN 10 && 10 - Not Xor Pen
#DEFINE DRAWMODE_NOP 11 && 11 - Nop
#DEFINE DRAWMODE_MERGE_NOT_PEN 12 && 12 - Merge Not Pen
#DEFINE DRAWMODE_COPY_PEN 13 && 13 - Copy Pen
#DEFINE DRAWMODE_MERGE_PEN_NOT 14 && 14 - Merge Pen Not
#DEFINE DRAWMODE_MERGE_PEN 15 && 15 - Merge Pen
#DEFINE DRAWMODE_WHITENESS 16 && 16 - Whiteness
*-- DrawStyle
#DEFINE DRAWSTYLE_SOLID 0 && 0 - Solid
#DEFINE DRAWSTYLE_DASH 1 && 1 - Dash
#DEFINE DRAWSTYLE_DOT 2 && 2 - Dot
#DEFINE DRAWSTYLE_DASH_DOT 3 && 3 - Dash-Dot
#DEFINE DRAWSTYLE_DASH_DOT_DOT 4 && 4 - Dash-Dot-Dot
#DEFINE DRAWSTYLE_INVISIBLE 5 && 5 - Invisible
#DEFINE DRAWSTYLE_INSIDE_SOLID 6 && 6 - Inside Solid
*-- FillStyle
#DEFINE FILLSTYLE_SOLID 0 && 0 - Solid
#DEFINE FILLSTYLE_TRANSPARENT 1 && 1 - Transparent
#DEFINE FILLSTYLE_HORIZONTAL_LINE 2 && 2 - Horizontal Line
#DEFINE FILLSTYLE_VERTICAL_LINE 3 && 3 - Vertical Line
#DEFINE FILLSTYLE_UPWARD_DIAGONAL 4 && 4 - Upward Diagonal
#DEFINE FILLSTYLE_DOWNWARD_DIAGONAL 5 && 5 - Downward Diagonal
#DEFINE FILLSTYLE_CROSS 6 && 6 - Cross
#DEFINE FILLSTYLE_DIAGONAL_CROSS 7 && 7 - Diagonal Cross
*-- ScaleMode
#DEFINE SCALEMODE_PIXELS 3 && 3 - Pixel
#DEFINE SCALEMODE_FOXELS 0 && 0 - Foxels
*-- WindowState
#DEFINE WINDOWSTATE_NORMAL 0 && 0 - Normal
#DEFINE WINDOWSTATE_MINIMIZED 1 && 1 - Minimized
#DEFINE WINDOWSTATE_MAXIMIZED 2 && 2 - Maximized
*-- Window Borders
#DEFINE BORDER_NONE 0
#DEFINE BORDER_SINGLE 1
#DEFINE BORDER_DOUBLE 2
#DEFINE BORDER_SYSTEM 3
*-- Toolbar Positions
#DEFINE TOOL_NOTDOCKED -1
#DEFINE TOOL_TOP 0
#DEFINE TOOL_LEFT 1
#DEFINE TOOL_RIGHT 2
#DEFINE TOOL_BOTTOM 3
*-- Button parameter masks
#DEFINE BUTTON_LEFT 1
#DEFINE BUTTON_RIGHT 2
#DEFINE BUTTON_MIDDLE 4
*-- Function Parameters
*-- MessageBox parameters
#DEFINE MB_OK 0 && OK button only
#DEFINE MB_OKCANCEL 1 && OK and Cancel buttons
#DEFINE MB_ABORTRETRYIGNORE 2 && Abort, Retry, and Ignore buttons
#DEFINE MB_YESNOCANCEL 3 && Yes, No, and Cancel buttons
#DEFINE MB_YESNO 4 && Yes and No buttons
#DEFINE MB_RETRYCANCEL 5 && Retry and Cancel buttons
#DEFINE MB_ICONSTOP 16 && Critical message
#DEFINE MB_ICONQUESTION 32 && Warning query
#DEFINE MB_ICONEXCLAMATION 48 && Warning message
#DEFINE MB_ICONINFORMATION 64 && Information message
#DEFINE MB_APPLMODAL 0 && Appl