home *** CD-ROM | disk | FTP | other *** search
- DefInt A-Z
- Global JustStarting As Integer ' Flag for alarm on icon
- Global TimerActive As Integer
- Global StartTime As Single
- '$include: 'vbtools.bi'
- '$BOF
- Global Const MhTrue = -1, MhFalse = 0
-
- '--------------------------------------------------------------------------
- ' These are the user-defined TYPE declarations for VBTOOLS .VBX files
-
- Type WinFlags
-
- WF_80x87 As Integer ' MhTrue or MhFalse
- WF_CPU As Integer ' 86,186,286,386,486
- WF_MODE As Integer ' 1=Standard,2=386 enhanced
- WF_FRAME As Integer ' 1=EMS large-frame, 2=EMS small-frame
-
- End Type
- '--------------------------------------------------------------------------
- ' The following routines are present in both VBTOOLS .VBX files and
- ' VBMUSCLE.VBX. If you wish to use both products in the same application,
- ' be sure to delete these lines from the copy of this file that you place
- ' into your application. Do **NOT** remove these lines from the master
- ' copy of VBTOOLS.BI!!!
-
- '---------------------------------------------------------------------------
- Type MhChooseFontType
-
- ' Special TYPEs used by MhChooseFont
- HWnd As Integer ' Form's hwnd
- Hdc As Integer ' Identifies device or information
- ' context of the printer listed
- ' in the dialog box. Use MhPrintDlg
- ' to select printer and set the
- ' PD_RETURNDC or PD_RETURNIC flags.
- ' Use Form.HDC to get screen fonts.
- ' In either case, you must also
- ' specify CF_PRINTERFONTS flag,otherwise
- ' this is ignored.
- LogFont As Long ' Used internally
- PointSize As Integer ' In units of 1/10th of a point
- Flags As Long ' See below
- RgbColor As Long ' If the CF_EFFECTS flag is set, this field contains an RGB value which the
- ' ChooseFont function should use to set the text color. After the user
- ' dismisses the dialog, this field contains the RGB value of the color which the
- ' user selected.
- Reserved2 As Long ' Used internally
- Reserved3 As Long ' Ditto
- Reserved4 As Long ' Ditto
- Reserved5 As Integer ' Ditto
- Reserved6 As Long ' Ditto
- FontType As Integer ' Specifies the type of the selected font:
- ' SIMULATED_FONTTYPE Specifies that the font is simulated by GDI.
- ' PRINTER_FONTTYPE Specifies that the font is a printer font.
- ' SCREEN_FONTTYPE Specifies that the font is a screen font.
- MinSize As Integer ' If the CF_LIMITSIZE flag is set, this specifies
- ' the minimum allowable point size.
- MaxSize As Integer ' Same as MinSize but for maximum
- End Type
- Type MhLogFontType
- FontHeight As Integer
- FontWidth As Integer
- FontEscapement As Integer
- FontOrientation As Integer
- FontWeight As Integer
- FontItalic As String * 1
- FontUnderline As String * 1
- FontStrikeout As String * 1
- FontCharSet As String * 1
- FontOutPrecision As String * 1
- FontClipPrecision As String * 1
- FontQuality As String * 1
- FontPitchAndFamily As String * 1
- FontFaceName As String * 32
- End Type
-
- '---------------------------------------------------------------------------
- Type MhPrintDlgType
- ' Special TYPE used by MhPrintDlg
-
- HWnd As Integer ' hWnd of your form
- DevMode As Integer ' Used by other routines
- ' If non-zero on entry, used as default
- ' (should be zero first time you call
- ' to get default printer values loaded)
- DevNames As Integer ' Used by other routines
- ' If non-zero on entry, used as default
- ' (should be zero first time you call
- ' to get default printer values loaded)
- Hdc As Integer ' Used by other routines
- ' If non-zero on entry, used as default
- ' (should be zero first time you call
- ' to get default printer values loaded)
- Flags As Long ' See below
- FromPage As Integer ' First page to print
- ToPage As Integer ' Last page to print
- MinPage As Integer ' Minimum allowed value in From/To controls
- MaxPage As Integer ' Maximum ""
- Copies As Integer ' How many copies?
- End Type
-
- Type MhGetFileType
- ' Special TYPEs used by File Dialog routines
-
- HWnd As Integer ' Form's hWnd
- FilterIndex As Long ' Which Filter to use as default
- InitFileName As String ' Used to initialize File Name edit control
- FormCaption As String ' Caption for File Form
- InitDir As String ' Initial directory. Null for CurDir$
- DefaultExtension As String ' Default extension to use (no period)
- HowManyFilters As Integer ' In the other array
- Flags As Long ' See manual
- RawNamePos As Integer ' Returned as Instr in Result$ where raw file name begins
- ExtensionPos As Integer ' Returned as Instr in Result$ where extension begins
- End Type
-
- Type MhFileFilterType
- Description As String ' i.e., "Text Files"
- Mask As String ' "*.txt;*.doc;*.bas
- End Type
-
- ' MhChooseColor values
- Global Const CC_CANCELLED = -100
- Global Const CC_RGBINIT = 1
- Global Const CC_FULLOPEN = 2
- Global Const CC_PREVENTFULLOPEN = 4
- Global Const CC_SHOWHELP = 8
-
- ' MhGetOpenFileName and MhGetSaveFileName Values
- Global Const OFN_READONLY = &H1
- Global Const OFN_OVERWRITEPROMPT = &H2
- Global Const OFN_HIDEREADONLY = &H4
- Global Const OFN_NOCHANGEDIR = &H8
- Global Const OFN_SHOWHELP = &H10
- Global Const OFN_EXTENTIONDIFFERENT = &H400
- Global Const OFN_PATHMUSTEXIST = &H800
- Global Const OFN_FILEMUSTEXIST = &H1000
- Global Const OFN_CREATEPROMPT = &H2000
- Global Const OF_SHARE_EXCLUSIVE = &H10
- Global Const OF_SHARE_DENY_WRITE = &H20
- Global Const OF_SHARE_DENY_READ = &H30
- Global Const OF_SHARE_DENY_NONE = &H40
- Global Const OF_CANCEL = &H800
- Global Const OF_PROMPT = &H2000
-
- ' MhFindText and MhReplaceText Values
- Global Const FR_DOWN = &H1
- Global Const FR_WHOLEWORD = &H2
- Global Const FR_MATCHCASE = &H4
- Global Const FR_FINDNEXT = &H8
- Global Const FR_REPLACE = &H10
- Global Const FR_REPLACEALL = &H20
- Global Const FR_SHOWHELP = &H80
- Global Const FR_NOUPDOWN = &H400
- Global Const FR_NOMATCHCASE = &H800
- Global Const FR_NOWHOLEWORD = &H1000
-
- ' MhPrintDlg Values
- 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_ENABLEPRINTHOOK = &H1000
- Global Const PD_ENABLESETUPHOOK = &H2000
- Global Const PD_ENABLEPRINTTEMPLATE = &H4000
- Global Const PD_ENABLESETUPTEMPLATE = &H8000
- Global Const PD_ENABLEPRINTTEMPLATEHANDLE = &H10000
- Global Const PD_ENABLESETUPTEMPLATEHANDLE = &H20000
- Global Const PD_USEDEVMODECOPIES = &H40000
- Global Const ANSI_CHARSET = 0
- Global Const SYMBOL_CHARSET = 2
- Global Const SHIFTJIS_CHARSET = 128
- Global Const OEM_CHARSET = 255
- Global Const DEFAULT_QUALITY = 0
- Global Const DRAFT_QUALITY = 1
- Global Const PROOF_QUALITY = 2
- Global Const DEFAULT_PITCH = 0
- Global Const FIXED_PITCH = 1
- Global Const VARIABLE_PITCH = 2
-
- ' Font Families
- Global Const FF_DONTCARE = 0 ' Don't care or don't know.
- Global Const FF_ROMAN = 16 ' Variable stroke width, serifed. Times Roman, Century Schoolbook, etc.
- Global Const FF_SWISS = 32 ' Variable stroke width, sans-serifed. Helvetica, Swiss, etc.
- Global Const FF_MODERN = 48 ' Constant stroke width, serifed or sans-serifed. Pica, Elite, Courier, etc.
- Global Const FF_SCRIPT = 64 ' Cursive, etc.
- Global Const FF_DECORATIVE = 80 ' Old English, etc.
-
- ' Font Weights
- Global Const FW_DONTCARE = 0
- Global Const FW_THIN = 100
- Global Const FW_EXTRALIGHT = 200
- Global Const FW_LIGHT = 300
- Global Const FW_NORMAL = 400
- Global Const FW_MEDIUM = 500
- Global Const FW_SEMIBOLD = 600
- Global Const FW_BOLD = 700
- Global Const FW_EXTRABOLD = 800
- Global Const FW_HEAVY = 900
- Global Const FW_ULTRALIGHT = FW_EXTRALIGHT
- Global Const FW_REGULAR = FW_NORMAL
- Global Const FW_DEMIBOLD = FW_SEMIBOLD
- Global Const FW_ULTRABOLD = FW_EXTRABOLD
- Global Const FW_BLACK = FW_HEAVY
-
- ' MhChooseFont Values
- Global Const CF_SCREENFONTS = &H1
- Global Const CF_PRINTERFONTS = &H2
- Global Const CF_BOTH = &H3 ' (CF_SCREENFONTS | CF_PRINTERFONTS)
- Global Const CF_SHOWHELP = &H4
- Global Const CF_EFFECTS = &H100
- Global Const CF_APPLY = &H200
- Global Const CF_ANSIONLY = &H400
- Global Const CF_NOVECTORFONTS = &H800
- Global Const CF_NOSIMULATIONS = &H1000
- Global Const CF_LIMITSIZE = &H2000
- Global Const CF_FIXEDPITCHONLY = &H4000
- Global Const CF_WYSIWYG = &H8000 ' must also have CF_SCREENFONTS & CF_PRINTERFONTS
- Global Const CF_FORCEFONTEXIST = &H10000
- Global Const CF_SCALABLEONLY = &H20000
- Global Const CF_TTONLY = &H40000
- Global Const SIMULATED_FONTTYPE = &H8000
- Global Const PRINTER_FONTTYPE = &H4000
- Global Const SCREEN_FONTTYPE = &H2000
-
- Declare Function CVDMBF# Lib "mhas200.vbx" (Doub$)
- Declare Function CVSMBF! Lib "mhas200.vbx" (Float$)
- Declare Function CVI% Lib "mhas200.vbx" (ByVal Lin$)
- Declare Function CVL& Lib "mhas200.vbx" (ByVal Lin$)
- Declare Function CVS! Lib "mhas200.vbx" (ByVal Lin$)
- Declare Function CVC@ Lib "mhas200.vbx" (ByVal Lin$)
- Declare Function CVD# Lib "mhas200.vbx" (ByVal Lin$)
- Declare Function MhCtrlHwnd% Lib "mhas200.vbx" (X As Control)
- Declare Function MhDefaultDrive% Lib "mhas200.vbx" ()
- Declare Function MhDirectoryExists% Lib "mhas200.vbx" (ByVal A$)
- Declare Function MhEcode% Lib "mhas200.vbx" ()
- Declare Function MhExeName$ Lib "mhas200.vbx" (ByVal HWnd As Integer)
- Declare Function MhExePath$ Lib "mhas200.vbx" (ByVal HWnd As Integer)
- Declare Function MhFileExists% Lib "mhas200.vbx" (ByVal A$)
- Declare Function MhFileDateCompare% Lib "mhas200.vbx" (ByVal F1$, ByVal F2$)
- Declare Function MhKillFiles% Lib "mhas200.vbx" (ByVal Attr%, ByVal A$)
- Declare Sub MhScrMono Lib "mhas200.vbx" (ByVal Lin$, ByVal Row%, ByVal Col%, ByVal Attr%)
- Declare Function MhSetDefaultDrive% Lib "mhas200.vbx" (ByVal A%)
- Declare Function MhSystemDir$ Lib "mhas200.vbx" ()
- Declare Function MhWinDir$ Lib "mhas200.vbx" ()
- Declare Sub MhWinFlags Lib "mhas200.vbx" (WindowsFlags As WinFlags)
- Declare Function MhWinVersion% Lib "mhas200.vbx" (Major%, Minor%)
- Declare Function MKI$ Lib "mhas200.vbx" (ByVal A%)
- Declare Function MKL$ Lib "mhas200.vbx" (ByVal A&)
- Declare Function MKD$ Lib "mhas200.vbx" (A#)
- Declare Function MKDMBF$ Lib "mhas200.vbx" (Doubl#)
- Declare Function MKS$ Lib "mhas200.vbx" (A!)
- Declare Function MKSMBF$ Lib "mhas200.vbx" (Float!)
- Declare Function MKC$ Lib "mhas200.vbx" (A@)
- Declare Function MhChooseColor& Lib "mhas200.vbx" (ByVal HWnd%, ByVal DefaultColor&, CustomColors&, ByVal Flags&)
- Declare Function MhChooseFont% Lib "mhas200.vbx" (Y As MhLogFontType, X As MhChooseFontType)
- Declare Function MhGetOpenFileName$ Lib "mhas200.vbx" (X As MhGetFileType, Y As MhFileFilterType)
- Declare Function MhGetSaveFileName$ Lib "mhas200.vbx" (X As MhGetFileType, Y As MhFileFilterType)
- Declare Function MhChooseColor& Lib "mhas200.vbx" (ByVal HWnd%, ByVal DefaultColor&, CustomColors&, ByVal Flags&)
- Declare Function MhFindText% Lib "mhas200.vbx" (ByVal KeyCode%, ByVal HWnd%, Flags&, Find$)
- Declare Function MhReplaceText% Lib "mhas200.vbx" (Replace$, ByVal KeyCode%, ByVal HWnd%, Flags&, Find$)
- Declare Function MhLoadCommDlg% Lib "mhas200.vbx" ()
- Declare Function MhSetFont% Lib "mhas200.vbx" (ByVal HWnd%, ByVal RedrawNow%, Y As MhLogFontType)
- Declare Function MhPrintDlg% Lib "mhas200.vbx" (X As MhPrintDlgType)
- Declare Function MhPrintDlgDef% Lib "mhas200.vbx" (X As MhPrintDlgType)
- Declare Function MhGetTextDialog% Lib "mhas200.vbx" (Replace$, Flags&, Find$)
- Declare Sub MhKillDialog Lib "mhas200.vbx" ()
- Declare Function MhGetFileTitle$ Lib "mhas200.vbx" (ByVal A$)
-
- '--------------------------------------------------------------------------
- ' These are the SUB and FUNCTION declarations for VBTOOLS .VBX files
-
- Declare Function Bload% Lib "mhas200.vbx" (ByVal Lin$, X As Any, ByVal Length&)
- Declare Function Bsave% Lib "mhas200.vbx" (ByVal Lin$, X As Any, ByVal Length&)
- Declare Function MhBlue% Lib "mhas200.vbx" (ByVal xColor&)
- Declare Function MhGreen% Lib "mhas200.vbx" (ByVal xColor&)
- Declare Function MhRed% Lib "mhas200.vbx" (ByVal xColor&)
- Declare Sub MhRgb Lib "mhas200.vbx" (ByVal xColor&, Red%, Green%, Blue%)
- Declare Function Play% Lib "mhas200.vbx" (ByVal Lin$)
- Declare Sub PlayStop Lib "mhas200.vbx" ()
-
- '--------------------------------------------------------------------------
- ' These are the SUB and FUNCTION declarations for Windows KEYBOARD.DRV DLL
-
- Declare Function GetKeyboardType% Lib "Keyboard.Drv" (ByVal nTypeFlag%)
-
- '--------------------------------------------------------------------------
- ' These are the user-defined TYPE declarations for Windows GDI DLL
-
- Type TextMetric ' Used with GetTextMetrics
- TmHeight As Integer
- TmAscent As Integer
- TmDescent As Integer
- TmInternalLeading As Integer
- TmExternalLeading As Integer
- TmAveCharWidth As Integer
- TmMaxCharWidth As Integer
- TmWeight As Integer
- TmItalic As String * 1
- TmUnderlined As String * 1
- TmStruckOut As String * 1
- TmFirstChar As String * 1
- TmLastChar As String * 1
- TmDefaultChar As String * 1
- TmBreakChar As String * 1
- TmPitchAndFamily As String * 1
- TmCharSet As String * 1
- tOverhang As Integer
- TmDigitizedAspectX As Integer
- TmDigitizedAspectY As Integer
- End Type
-
- '--------------------------------------------------------------------------
- ' These are the SUB and FUNCTION declarations for Windows GDI DLL
-
- Declare Function GetTextExtent& Lib "Gdi" (ByVal Hdc%, ByVal lpString$, ByVal nCount%)
- Declare Function BitBlt% Lib "Gdi" (ByVal destDC%, ByVal X%, ByVal Y%, ByVal W%, ByVal H%, ByVal srcDC%, ByVal xSrc%, ByVal ySrc%, ByVal RasterOp&)
- ' BitBlt moves a bitmap from the
- ' source device to the destination
- ' device. See the CONST section for
- ' values for RasterOp&.
- Declare Function GetTextMetrics% Lib "Gdi" (ByVal Hdc%, A As TextMetric)
- Declare Function GetTextCharacterExtra% Lib "Gdi" (ByVal Hdc%)
- Declare Function SetStretchBltMode% Lib "Gdi" (ByVal DestHdc%, ByVal StretchMode%)
- ' This function sets the stretching
- ' mode for the StretchBlt function.
- ' The stretching mode determines
- ' which scan lines and/or columns
- ' StretchBlt eliminates when
- ' contracting a bitmap.
- ' StretchMode% is one of:
- Global Const BLACKONWHITE = 1
- ' AND in the eliminated lines.
- ' Preserves black pixels at
- ' the expense of white pixels
- ' by using the AND operator
- ' on the eliminated lines and
- ' those remaining.
- Global Const WHITEONBLACK = 2
- ' OR in the eliminated lines.
- ' Preserves white pixels at
- ' the expense of black pixels
- ' by using the OR operator
- ' on the eliminated lines and
- ' those remaining.
- Global Const COLORONCOLOR = 3
- ' Deletes the eliminated lines
- ' without preserving their
- ' information.
-
- Declare Function SetTextCharacterExtra% Lib "Gdi" (ByVal Hdc%, ByVal nCharExtra%)
- Declare Function StretchBlt% Lib "Gdi" (ByVal destDC%, ByVal DestX%, ByVal DestY%, ByVal W%, ByVal H%, ByVal srcDC%, ByVal xSrc%, ByVal ySrc%, ByVal wSrc%, ByVal hSrc%, ByVal RasterOp&)
- ' StretchBlt moves a bitmap from a
- ' source rectangle to a destination
- ' rectangle, stretching or
- ' compressing the bitmap if
- ' necessary to fit the dimensions
- ' of the destination rectangle.
- ' Also see SetStretchBltMode.
- ' See the CONST section for
- ' values for RasterOp&.
-
- '--------------------------------------------------------------------------
- ' These are the SUB and FUNCTION declarations for Windows KERNEL DLL
-
- Declare Function GetModuleFileName% Lib "Kernel" (ByVal hModule%, ByVal FileName$, ByVal nSize%)
- Declare Function GetPrivateProfileString% Lib "Kernel" (ByVal AppName$, ByVal KeyName$, ByVal Default$, ByVal ReturnedString$, ByVal nSize%, ByVal PFileName$)
- Declare Function LoadLibrary% Lib "Kernel" (ByVal LibName$)
- Declare Function WritePrivateProfileString% Lib "Kernel" (ByVal AppName$, ByVal KeyName$, ByVal PString$, ByVal PFileName$)
-
- '--------------------------------------------------------------------------
- ' These are the SUB and FUNCTION declarations for Windows USER DLL
-
- Declare Sub CreateCaret Lib "User" (ByVal HWnd%, ByVal hBiTmap%, ByVal nWidth%, ByVal nHeight%)
- Declare Sub DestroyCaret Lib "User" ()
- Declare Function EnableHardwareInput% Lib "User" (ByVal MhTrueOrMhFalse%)
- Declare Function ExitWindows% Lib "User" (ByVal dwReserved&, ByVal wReturnCode%)
- Declare Function FlashWindow% Lib "User" (ByVal HWnd%, ByVal bInvert%)
- Declare Function GetCaretBlinkTime% Lib "User" ()
- Declare Function GetCurrentTime& Lib "User" ()
- Declare Function GetDoubleClickTime% Lib "User" ()
- Declare Function GetFocus% Lib "User" ()
- Declare Function GetInputState% Lib "User" ()
- Declare Function GetKeyState% Lib "User" (ByVal nVirtKey%)
- Declare Function GetMenu% Lib "User" (ByVal HWnd%)
- Declare Function GetMenuItemID% Lib "User" (ByVal hMenu%, ByVal nPos%)
- Declare Function GetSubMenu% Lib "User" (ByVal hMenu%, ByVal nPos%)
- Declare Function GetWindowWord% Lib "User" (ByVal HWnd%, ByVal Index%)
- Declare Sub HideCaret Lib "User" (ByVal HWnd%)
- Declare Function IsCharAlpha% Lib "User" (ByVal cChar%)
- Declare Function IsCharAlphaNumeric% Lib "User" (ByVal cChar%)
- Declare Function IsCharLower% Lib "User" (ByVal cChar%)
- Declare Function IsCharUpper% Lib "User" (ByVal cChar%)
- Declare Function LoadCursor% Lib "User" (ByVal hInstance%, ByVal CursorName$)
- Declare Function ModifyMenu% Lib "User" (ByVal hMenu%, ByVal nPosition%, ByVal wFlags%, ByVal wIDNewItem%, ByVal lpNewItem&)
- Declare Sub SetCaretBlinkTime Lib "User" (ByVal Milliseconds%)
- Declare Function SetCursor% Lib "User" (ByVal hCursor%)
- Declare Sub SetDoubleClickTime Lib "User" (ByVal Milliseconds%)
- Declare Function SetMenuItemBitmaps% Lib "User" (ByVal hMenu%, ByVal nPosition%, ByVal wFlags%, ByVal hBitmapUnchecked%, ByVal hBitmapChecked%)
- Declare Sub ShowCaret Lib "User" (ByVal HWnd%)
- Declare Function ShowWindow% Lib "User" (ByVal HWnd%, ByVal nCmdShow%)
- Declare Function WinHelp% Lib "User" (ByVal HWnd%, ByVal HelpFile$, ByVal HelpCommand%, ByVal HelpData As Any)
-
- '--------------------------------------------------------------------------
- ' These are the CONSTANT declarations for the Windows DLL routines
-
- ' WinHelp values
-
- Global Const HELP_CONTEXT = 1
- Global Const HELP_QUIT = 2
- Global Const HELP_INDEX = 3
- Global Const HELP_HELPONHELP = 4
- Global Const HELP_SETINDEX = 5
- Global Const HELP_KEY = &H101
- Global Const HELP_MULTIKEY = &H201
-
- ' Virtual key codes
- Global Const VK_CAPITAL = &H14
- Global Const VK_CONTROL = &H11
- Global Const VK_INSERT = &H2D
- Global Const VK_NUMLOCK = &H90
- Global Const VK_OEM_SCROLL = &H91
- Global Const VK_SHIFT = &H10
-
- ' Menu flags and colors
- Global Const CLR_MENUBAR = &H80000004
- Global Const MF_BITMAP = &H4
-
- ' ShowWindow routine nCmdShow%
- Global Const SW_SHOWNORMAL = 1
- Global Const SW_RESTORE = 9
-
- ' Used with GetWindowsWord
- Global Const GWW_HINSTANCE = -6
-
- ' BitBlt and StretchBlt values for RasterOp&
- Global Const BLACKNESS = &H42 ' CLS black
- Global Const DSTINVERT = &H550009 ' Inverts destination bitmap
- Global Const MERGECOPY = &HC000CA ' Combines pattern and source bitmap using AND
- Global Const MERGEPAINT = &HBB0226 ' Combines inverted source bitmap with destination bitmap using OR
- Global Const NOTSRCCOPY = &H330008 ' Copies inverted source bitmap to destination
- Global Const NOTSRCERASE = &H1100A6 ' Inverts result of combining destination and source bitmaps using OR
- Global Const PATCOPY = &HF00021 ' Copies the pattern to destination bitmap
- Global Const PATINVERT = &H5A0049 ' Copies destination bitmap with pattern using XOR
- Global Const PATPAINT = &HFB0A09 ' Combines inverted source bitmap with pattern using OR.
- ' Combines that result with destination bitmap using OR.
- Global Const SRCAND = &H8800C6 ' Combines pixels of dest and src bitmaps using AND
- Global Const SRCCOPY = &HCC0020 ' Copies source bitmap to destination bitmap
- Global Const SRCERASE = &H440328 ' Inverts destination bitmap and combines result with source using AND
- Global Const SRCINVERT = &H660046 ' Combines pixels of dest and src bitmaps using XOR
- Global Const SRCPAINT = &HEE0086 ' Combines pixels of dest and src bitmaps using OR
- Global Const WHITENESS = &HFF0062 ' CLS white
-
- '$EOF
-