home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 12
/
BUGCD1998_03.ISO
/
util
/
hmpro95
/
macprot2.hld
< prev
next >
Wrap
Text File
|
1998-02-11
|
6KB
|
106 lines
VQPROTOTYPESFILE_04.00
%Display About dialog box; About();
Add Accelerator key; AddAccelerator(key, shift-state, "macro"); AA
Search for alternate keywords; ALink("keywords", type, "context-string", "window-name"); AL
%Display Annotate dialog box; Annotate();
Append menu item on Help Menu ; AppendItem("menu-id", "item-id", "item-name", "macro"); AI
%Return to last topic; Back();
%Remove the back history list; BackFlush(); BF
%Create a Bookmark; BookMarkDefine();
%Display more Bookmark info; BookMarkMore();
Display Browse buttons; BrowseButtons();
Change macro assigned to button; ChangeButtonBinding("button-id", "button-macro"); CBB
Change macro and enable button; ChangeEnable("button-id", "button-macro"); CE
Change macro assigned to menu item; ChangeItemBinding("item-id", "item-macro"); CIB
Check Help Menu item; CheckItem("item-id"); CI
%Close all but the current secondary window; CloseSecondarys(); CS
Close Help Window; CloseWindow("window-name");
Display help file in second instance of WinHelp; Compare("filename");
%Display Contents; Contents();
Open a control panel applet with a specific tab on top; ControlPanel("CPL-name", "panel-name", tab-num);
%Display Copy dialog box; CopyDialog();
Copy all topic text to Clipboard; CopyTopic(); CT
Add new button to button bar; CreateButton("button-id", "caption", "macro"); CB
Remove menu item; DeleteItem("item-id");
Remove text marker; DeleteMark("marker-text");
Remove button; DestroyButton("button-id");
Disable button; DisableButton("button-id"); DB
Disable menu item; DisableItem("item-id"); DI
Enable button; EnableButton("button-id"); EB
Enable menu item; EnableItem("item-id"); EI
%Terminate printing of multiple topics; EndMPrint();
Run a program associated with a file; ExecFile("filename", "arguments", display-state, "context-string"); EF
Execute Windows application; ExecProgram("command-line", display-state); EP
%Exit Help; Exit();
Enable/Disable Menu Item; ExtAbleItem("item-id", enabled-state);
Insert menu item at given position; ExtInsertItem("menu-id", "item-id", "item-name", "macro", position, enabled-state);
Insert sub-menu off of Help menu; ExtInsertMenu("parentmenu-id", "submenu-id", "submenu-name", submenu-position, enabled-state);
Check existence of specified file; FileExist("filename"); FE
%Open another Help file; FileOpen();
%Display the Find tab in Help Topics dialog box; Find();
%Display the Help Topics dialog box; Finder(); FD
%Enable floating menu; FloatingMenu();
%Force WinHelp to process pending messages and macros; Flush(); FH
Change focus to specified window; FocusWindow("window-name");
Post a message to the currently active Help window; Generate("message", "wParam", "lParam");
Go to a text marker; GoToMark("marker-text");
*Animation in extended window; HAnimateCommand("animationfile","control-cmd","windowtitle");
*Play Audio file; HAudioCommand("wavfile","control-cmd");
*Display Audio Dialog in extended window; HAudioDialog("wavfile","windowtitle");
*Display bitmap in extended window; HDisplayBmp("bitmapfile","windowtitle");
%Display Help on Windows Help; HelpOn();
%Toggle on-top state of Window Help; HelpOnTop();
%Display History dialog box; History();
Execute macro if text marker exists; IfThen(IsMark("marker-text"), "macro"); IF
Execute one of two macros if text marker exists; IfThenElse(IsMark("marker-text"), "macro1", "macro2"); IE
%Display Printer Setup dialog box; InitMPrint();
Insert menu item at given position; InsertItem("menu-id", "item-id", "item-name", "macro", position);
Insert new menu in Help menu bar; InsertMenu("menu-id", "menu-name", menu-position);
%Is WinHelp running as double-clicked book icon?; IsBook();
Test if text marker exists; IsMark("marker-text");
Test if text marker does not exist; IsNotMark("marker-text"); NM
Jump to Contents topic of a file; JumpContents("filename");
Jump to topic with specified context number; JumpContext("filename", context-number); JC
Jump to a topic identified by a hash number; JumpHash("filename", hash-code); JH
Jump to Context topic of How To Use Help file; JumpHelpOn();
Jump to topic with specified context string; JumpId("filename", "context-string"); JI
Search for a topic via its keyword; JumpKeyword("filename", "keyword"); JK
Search for a topic via its keyword; KLink("keyword", type, "context-string", "window-name"); KL
Execute Multimedia command; mciExecute("command-string");
%Display floating menu; Menu(); MU
Print a topic identified by its hash number; MPrintHash(hash-code);
Print a topic; MPrintID("context-string");
%Display next topic; Next();
%Prevent a help window from being displayed; NoShow();
Test if text marker does not exist; Not(IsMark("marker-text"));
Popup topic specified by context number; PopupContext("filename", context-number); PC
Popup topic specified by its hash number; PopupHash("filename", hash-code);
Popup topic specified by context string; PopupId("filename", "context-string"); PI
Set position and size of Help Window; PositionWindow(x, y, width, height, state, "window-name"); PW
%Display previous topic; Prev();
%Print the current topic; Print();
%Setup the printer; PrinterSetup();
Register DLL routine as a macro; RegisterRoutine("DLL-name", "function-name", "format-spec"); RR
Remove an accelerator key assignment; RemoveAccelerator(key, shift-state); RA
%Reset Help menus to default; ResetMenu();
Mark location of text; SaveMark("marker-text");
%Search using keywords; Search();
Specify Contents topic; SetContents("filename", context-number);
Replace How To Use Help file; SetHelpOnFile("filename");
Set background color of all popup windows; SetPopupColor(r, g, b); SPC
Open or print specified file; ShellExecute("filename", "arguments", display-state, "operation", "path", "context-string"); SE
Run specified program; ShortCut("window-class", "filename", "wParam", "lParam", "context-string"); SH
Play sound from WAV file; sndPlaySound("filename", play-flag);
Send a message to a program; TCard(command);
Run an internal WinHelp test; Test(test-num);
Test alternate keyword existence; TestALink("keyword");
Test keyword existence; TestKLink("keyword");
Uncheck menu item; UncheckItem("item-id"); UI
Update a help window with a specified topic; UpdateWindow("filename>window-name", "context-string"); UW
User defined macro; User();