home *** CD-ROM | disk | FTP | other *** search
- ''''''''''''''''''''''''''''
- ' This is a copy of a protion of the Visual Basic GLOBAL.TXT
- ' This only includes global constants required by the routines
- ' You can exclude this file from from your project if you are including
- ' these global definitions elsewhere
- '
- '
- ''''''''''''''''''''''''''''
-
- ' General
-
- ' Clipboard formats
- Global Const CF_LINK = &HBF00
- Global Const CF_TEXT = 1
- Global Const CF_BITMAP = 2
- Global Const CF_METAFILE = 3
- Global Const CF_DIB = 8
- Global Const CF_PALETTE = 9
-
- ' Show parameters
- Global Const MODAL = 1
- Global Const MODELESS = 0
-
- ' Colors
- Global Const BLACK = &H0&
- Global Const RED = &HFF&
- Global Const GREEN = &HFF00&
- Global Const YELLOW = &HFFFF&
- Global Const BLUE = &HFF0000
- Global Const MAGENTA = &HFF00FF
- Global Const CYAN = &HFFFF00
- Global Const WHITE = &HFFFFFF
-
- ' MousePointer
- Global Const DEFAULT = 0 ' 0 - Default
- Global Const ARROW = 1 ' 1 - Arrow
- Global Const CROSSHAIR = 2 ' 2 - Cross
- Global Const IBEAM = 3 ' 3 - I-Beam
- Global Const ICON_POINTER = 4 ' 4 - Icon
- Global Const SIZE_POINTER = 5 ' 5 - Size
- Global Const SIZE_NE_SW = 6 ' 6 - Size NE SW
- Global Const SIZE_N_S = 7 ' 7 - Size N S
- Global Const SIZE_NW_SE = 8 ' 8 - Size NW SE
- Global Const SIZE_W_E = 9 ' 9 - Size W E
- Global Const UP_ARROW = 10 ' 10 - Up Arrow
- Global Const HOURGLASS = 11 ' 11 - Hourglass
- Global Const NO_DROP = 12 ' 12 - No drop
-
- ' WindowState
- Global Const NORMAL = 0 ' 0 - Normal
- Global Const MINIMIZED = 1 ' 1 - Minimized
- Global Const MAXIMIZED = 2 ' 2 - Maximized
-
- ' Function Parameters
- ' MsgBox parameters
- Global Const MB_OK = 0 ' OK button only
- Global Const MB_OKCANCEL = 1 ' OK and Cancel buttons
- Global Const MB_ABORTRETRYIGNORE = 2 ' Abort, Retry, and Ignore buttons
- Global Const MB_YESNOCANCEL = 3 ' Yes, No, and Cancel buttons
- Global Const MB_YESNO = 4 ' Yes and No buttons
- Global Const MB_RETRYCANCEL = 5 ' Retry and Cancel buttons
-
- Global Const MB_ICONSTOP = 16 ' Critical message
- Global Const MB_ICONQUESTION = 32 ' Warning query
- Global Const MB_ICONEXCLAMATION = 48 ' Warning message
- Global Const MB_ICONINFORMATION = 64 ' Information message
-
- Global Const MB_APPLMODAL = 0 ' Application Modal Message Box
- Global Const MB_DEFBUTTON1 = 0 ' First button is default
- Global Const MB_DEFBUTTON2 = 256 ' Second button is default
- Global Const MB_DEFBUTTON3 = 512 ' Third button is default
- Global Const MB_SYSTEMMODAL = 4096 'System Modal
-
- ' MsgBox return values
- Global Const IDOK = 1 ' OK button pressed
- Global Const IDCANCEL = 2 ' Cancel button pressed
- Global Const IDABORT = 3 ' Abort button pressed
- Global Const IDRETRY = 4 ' Retry button pressed
- Global Const IDIGNORE = 5 ' Ignore button pressed
- Global Const IDYES = 6 ' Yes button pressed
- Global Const IDNO = 7 ' No button pressed
-
-
- 'Printer Dialog Flags
- Global Const PD_ALLPAGES = &H0&
- Global Const PD_SELECTION = &H1&
- Global Const PD_PAGENUMS = &H2&
- Global Const PD_NOSELECTION = &H4&
- Global Const PD_NOPAGENUMS = &H8&
- Global Const PD_COLLATE = &H10&
- Global Const PD_PRINTTOFILE = &H20&
- Global Const PD_PRINTSETUP = &H40&
- Global Const PD_NOWARNING = &H80&
- Global Const PD_RETURNDC = &H100&
- Global Const PD_RETURNIC = &H200&
- Global Const PD_RETURNDEFAULT = &H400&
- Global Const PD_SHOWHELP = &H800&
- Global Const PD_USEDEVMODECOPIES = &H40000
- Global Const PD_DISABLEPRINTTOFILE = &H80000
- Global Const PD_HIDEPRINTTOFILE = &H100000
-
- 'Help Constants
- Global Const HELP_CONTEXT = &H1 'Display topic in ulTopic
- Global Const HELP_QUIT = &H2 'Terminate help
- Global Const HELP_INDEX = &H3 'Display index
- Global Const HELP_CONTENTS = &H3
- Global Const HELP_HELPONHELP = &H4 'Display help on using help
- Global Const HELP_SETINDEX = &H5 'Set the current Index for multi index help
- Global Const HELP_SETCONTENTS = &H5
- Global Const HELP_CONTEXTPOPUP = &H8
- Global Const HELP_FORCEFILE = &H9
- Global Const HELP_KEY = &H101 'Display topic for keyword in offabData
- Global Const HELP_COMMAND = &H102
- Global Const HELP_PARTIALKEY = &H105 'call the search engine in winhelp
-
-