home *** CD-ROM | disk | FTP | other *** search
- READ.ME File for MHELP.VBX
-
- This DLL is provided as a courtesy to the Visual Basic programming
- community by MicroHelp, Inc. MicroHelp is the leading publisher of
- add-on products for Microsoft Visual Basic, Microsoft QuickBASIC and
- Microsoft BASIC Professional Development System.
-
- The routines in the accompanying DLL represent only a handful of the
- routines that are in MicroHelp Muscle. Muscle includes over 400
- assembly language and other routines that add speed and functionality
- to Visual Basic programs. For more information on MicroHelp's products,
- call 1-800-922-3383 or (404) 594-1185. You can also write to:
-
- MicroHelp, Inc.
- 4636 Huntridge Drive
- Roswell GA 30075-2012
- USA
-
- FAX: (404) 594-9629
-
- You are free to use the routines provided in this DLL without
- restriction. That means you may distribute the DLL with your .EXE
- files that require the DLL.
-
- You may also distribute the DLL and related files (see below) in
- archive or ZIP format. In fact, we encourage you to distribute
- them! All we ask is that you place all the files listed below
- in the archive/zip, without modification.
-
- The files that are included as a part of this package are:
-
- READ.ME This file
- MHELP.BI Text file containing routine declarations
- MHELP.FRM Form used with MHELP.MAK
- MHELP.MAK Project file demonstrating the routines
- MHELP.VBX The DLL itself
-
- USING THE DLL
- -------------
- In order to use the DLL, the file MHELP.VBX must be in your PATH.
-
- In addition, the routines you wish to use must be declared for VB. The
- easiest way to accomplish this is to insert the contents of MHELP.BI
- into your global module.
-
- Once the routines have been declared in your app, using them is simply
- a matter of invoking them. Please see the example application MHELP.MAK
- for real code examples.
-
- ROUTINE DESCRIPTIONS
- --------------------
-
- MhCtrlHwnd% returns the HWND of any control. This value is
- useful for passing to Windows API routines. To use the routine,
- simply pass the CtlName of the property. For example:
-
- ' Assuming you have a text box control named "Text1"
- Text1Hwnd% = MhCtrlHwnd(Text1)
-
- The function result Text1Hwnd% can be used for any Windows API routine
- that requires an "hwnd".
-
- MhPeekByte is similar to QuickBASIC's PEEK statement. Instead of
- using DEF SEG, you pass a corresponding value in Segm%. For example,
- suppose in QuickBASIC you have the following:
-
- DEF SEG = &H40
- X% = PEEK(&H10)
- DEF SEG
-
- To read the same value using MhPeekByte:
-
- X% = MhPeekByte%(&H40, &H10)
-
- MhPokeByte is similar to MhPeekByte, but is used to write a value. For
- example, suppose you have this code in QuickBASIC:
-
- DEF SEG = &H40
- POKE &H10, 65
- DEF SEG
-
- The equivalent code for MhPokeByte is:
-
- MhPokeByte 65, &H40, &H10
-
- The balance of the routines are used *exactly* like their PDS
- 7.x counterparts:
-
- Inp%, Out, VarPtr%, VarSeg%, VarSegPtr%, SAdd%, SSeg%, SSegAdd&
-
- Note that for variable-length strings, you should use Sadd%, SSeg% and
- SSegAdd&. The Varxxx routines can be used on all other types of variables.
-
- All routines are provided on an "as-is" basis, without warranty of any
- kind. If you have a question about using the routines, please leave
- a message in the MSBASIC conference of CompuServe, in subtopic #5
- (Visual Basic). Please do not call MicroHelp for support for this
- free DLL.
-
-