home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic 4 Unleashed
/
Visual_Basic_4_Unleashed_SAMS_Publishing_1995.iso
/
wh21demo
/
macro.ls_
/
macro.ls
Wrap
Text File
|
1994-08-10
|
13KB
|
184 lines
; Help Macro input file (ANSI code)
; Macro name, followed by the # of parameters and a help text
; next line parameter name, followed by number of recorded values, and typedefs
; next line(s) possible values if any
; typedefs are (not exclusive) :
; Constant : integer value, the string will be displayed interactively, the
; value will be put in the macro
; String : String value
; Macro : Macro name
; Program : Program name
; HelpFile : Help File name
; List : List on following lines are possible values
; format : STRING=VALUE or VALUE or STRING
; Linklist : List of topics in file
; BrowseList : List of files
; Fixed : Only one value allowed
; Free : Free Parameter
; List_Free : Free List
; Constraints :
; -----------
; 1. To accept an abbreviation of a macro, a # has to be added at the end of the
macro name (Eg: MyMacro#),
; 2. The abbreviation consists of all uppercase characters found in the macro name,
; in the order of appearance (Eg: MyOwnMacro => MOM),
; 3. There is no check for redundant abbreviations,
;
; 4. Type definitions have to be coded EXACTLY as specified,
; Uppercase characters included
;
; 5. The macros appear in the order specified in the dialog box.
About 0 Displays Windows Help's About dialog box
AddAccelerator# 3 Assigns a Help macro to an accelerator key
Key 0 Constant VKList Windows virtual-key value
Shift State 8 Constant List Combination of ALT,SHIFT,CTRL
None=0 SHIFT=1 CTRL=2 SHIFT+CTRL=3 ALT=4 ALT+SHIFT=5
ALT+CTRL=6 SHIFT+ALT+CTRL=7
Macro 0 Macro Macro to execute
Annotate 0 Displays the Annotation dialog box from the Edit menu
AppendItem 4 Appends a menu item to the end of a menu
Menu id 0 String Free Menu identifier
Item id 0 String Free Item identifier
Item name 0 String Free Name of the item
Macro 0 Macro Macro to execute
Back 0 Displays the previous topic in the history list
BookmarkDefine 0 Displays the Define dialog box from the BookMark menu
BookmarkMore 0 Displays the More dialog box from the BookMark menu
BrowseButtons 0 Adds browse buttons to the button bar
ChangeButtonBinding# 2 Assigns a Help macro to a button
Button id 6 String List_Free Button identifier
BTN_CONTENTS BTN_SEARCH BTN_BACK BTN_HISTORY BTN_PREVIOUS
BTN_NEXT
Button macro 0 Macro Macro to execute
ChangeItemBinding# 2 Assigns a Help macro to a menu item added using the AppendItem macro
Item id 0 String Free Item identifier
Item macro 0 Macro Help macro to execute
CheckItem# 1 Places a check mark beside a menu item
Item id 0 String Free Item identifier
CloseWindow 1 Closes a secondary window or the main Help Window
Window name 0 String Free Name of the window to close
Contents 0 Displays the Contents topic in the current Help file
CopyDialog 0 Displays the Copy dialog box from the Edit menu
CopyTopic 0 Copies all the text in the current topic to the clipboard
CreateButton# 3 Adds a new button to the button bar
Button id 0 String Free Button identifier
Name 0 String Free Title of the button
Macro 0 Macro Macro to execute
DeleteItem 1 Removes a menu item added with the AppendItem macro
Item id 0 String Free Item identifier
DeleteMark 1 Removes a text marker added with the SaveMark macro
Marker text 0 String Free Text marker created with SaveMark()
DestroyButton 1 Removes a button added with the CreateButton macro
Button id 0 String List_Free Button identifier
DisableButton 1 Grays out a button added with the CreateButton macro
Button id 0 String List_Free Button identifier
DisableItem# 1 Grays out a menu item added with the AppendItem macro
Item id 0 String Free Item identifier
EnableButton# 1 Re-enables a button disabled with the DisableButton macro
Button id 0 String List_Free Button identifier
EnableItem# 1 Re-enables a menu item disabled with the DisableItem macro
Item id 0 String Free Item identifier
ExecProgram# 2 Executes a Windows application
Command line 0 Program BrowseList Program name and parameters
Display state 3 Constant List How to display the program
Normal=0 Minimized=1 Maximized=2
Exit 0 Exits the Windows Help application
FileOpen 0 Displays the Open dialog box from the File menu
FocusWindow 1 Changes the focus to the specified window
Window name 0 String Free Window which receives the focus
GotoMark 1 Jumps to a marker set with the SaveMark macro
Marker Text 0 String Free Text marker created with SaveMark()
HelpOn 0 Displays the Help file for the Windows Help application
HelpOnTop 0 Toggles the on-top state of Windows Help
History 0 Displays the history list
IfThen 2 Conditionally executes a Help macro
IsMark 1 Macro Fixed Tests if a marker exists
Ismark
Macro 0 Macro Macro to execute
IfThenElse 3 Conditionally executes one of two Help macros
IsMark 1 Macro Fixed Tests if a marker exists
Ismark
Macro1 0 Macro Macro to execute
Macro2 0 Macro Macro to execute
InsertItem 5 Inserts a menu item
Menu id 4 String List_Free Menu identifier
File=MNU_FILE Edit=MNU_EDIT BookMark menu=MNU_BOOKMARK
Help=MNU_HELPON
Item id 0 String Free Item identifier
Item Name 0 String Free Name of the item
Macro 0 Macro Macro to execute
Position 0 Constant Free Menu item's position
InsertMenu 3 Inserts a new menu in the Windows Help menu bar
Menu id 0 String Free Menu identifier
Menu name 0 String Free Name of the menu
Menu Position 0 Constant Free Position of the menu
IsMark 1 Tests if a marker exists
Marker Text 0 String Free Text marker created with SaveMark()
JumpContents 1 Jumps to the Contents topic of a specified file in the Help file
HelpFile 0 HelpFile BrowseList Name of the destination file
JumpContext# 2 Jumps to a topic mapped to a Context number in the Help file
HelpFile 0 HelpFile BrowseList Name of the destination file
Context id 0 Constant LinkList Context number of the topic
JumpHelpOn 0 Jumps to the Contents topic of the How to Use Help file
JumpId# 2 Jumps to the topic with the specified context string in the Help file
HelpFile 0 HelpFile BrowseList Name of the destination file
Context id 0 String LinkList Context string of the topic
JumpKeyword# 2 Jumps to the first topic mapped to a search keyword in the Help file
HelpFile 0 HelpFile BrowseList Destination file with keyword table
Keyword 0 String Free Keyword to search for
;* RegisterRoutine("MMSystem.Dll","MCIExecute","S")
MCIExecute 1 Executes multimedia commands (video, audio etc.)
Command 0 String Free Variable parameter for multimedia
Next 0 Displays the next topic in the browse sequence for the Help file
Not 1 Reverses the result returned by the IsMark macro
IsMark 1 Macro Fixed Tests if a marker exists
IsMark
PopupContext# 2 Displays the topic identified by a number in a pop-up window
HelpFile 0 HelpFile BrowseList File containing the topic
Context id 0 Constant LinkList Context number of the topic
PopupId# 2 Displays a topic from a specified file in a pop-up window
HelpFile 0 HelpFile BrowseList File containing the topic
Context id 0 String LinkList Context string of the topic
PositionWindow# 6 Sets the size and position of a window
X 0 Constant Free X coordinate of the window
Y 0 Constant Free Y coordinate of the window
Width 0 Constant Free Default width of the window
Height 0 Constant Free Default height of the window
State 2 Constant list Specifies how the window is sized
Normal size=0 Maximized=1
Name 0 String Free Name of the window
Prev 0 Displays the previous topic in the browse sequence for the Help file
Print 0 Sends the currently displayed topic to the printer
PrinterSetup 0 Displays the Printer Setup dialog box
RegisterRoutine# 3 Registers a function within a dynamic link library
DLL name 0 String Free Filename of the DLL
Function name 0 String LinkList Name of the function
Format spec 7 String List_Free Formats of the parameters
Unsigned Short=u Unsigned Long=U Short Int=i Int=I
Near Char=s Far Char=S Void=V
RemoveAccelerator# 2 Removes the assignment of a Help macro to an accelerator key
Key 0 Constant VKList Windows virtual-key value
Shift state 8 Constant List Combination of ALT,SHIFT,CTRL
None=0 SHIFT=1 CTRL=2 SHIFT+CTRL=3 ALT=4 ALT+SHIFT=5
ALT+CTRL=6 SHIFT+ALT+CTRL=7
SaveMark 1 Saves the location of the currently displayed topic and file
Marker Text 0 String Free Text marker for the topic location
Search 0 Displays the dialog box usually opened by the Search button
SetContents 2 Designates a specific topic as the Contents topic in the Help file
HelpFile 0 HelpFile BrowseList File containing the topic
Context id 0 Constant LinkList Context number of the topic
SetHelpOnfile 1 Specifies the name of the replacement How to Use Help file
HelpFile 0 HelpFile BrowseList Name of the replacement file
;* RegisterRoutine("MMSystem.Dll","SndPlaySound","Su")
SndPlaySound 2 Plays a sound from a file
SoundFile 0 String BrowseList Name of the sound file (*.WAV)
Play mode 6 Constant List_Free Play mode to be used
Snd_Sync=0 Snd_Async=1 Snd_NoDefault=2
Snd_Loop=8 Snd_Async_Loop=9 Snd_NoStop=16
UncheckItem# 1 Removes the check mark from a menu item
Item id 0 String Free Item identifier to uncheck