home *** CD-ROM | disk | FTP | other *** search
/ BUG 12 / BUGCD1998_03.ISO / util / hmpro95 / macproto.hld < prev    next >
Encoding:
Text File  |  1998-02-11  |  4.1 KB  |  71 lines

  1. ■VQPROTOTYPESFILE_03.50■
  2.  
  3. %Display About dialog box; About();
  4. Add Accelerator key; AddAccelerator(key, shift-state, "macro"); AA
  5. %Display Annotate dialog box; Annotate();
  6. Append menu item on Help Menu ; AppendItem("menu-id", "item-id", "item-name", "macro");
  7. %Return to last topic; Back();
  8. %Create a Bookmark; BookMarkDefine();
  9. %Display more Bookmark info; BookMarkMore();
  10. Display Browse buttons; BrowseButtons();
  11. Change macro assigned to button; ChangeButtonBinding("button-id", "button-macro"); CBB
  12. Change macro assigned to menu item; ChangeItemBinding("item-id",  "item-macro"); CIB
  13. Check Help Menu item; CheckItem("item-id"); CI
  14. Close Help Window; CloseWindow("window-name");
  15. %Display Contents; Contents();
  16. %Display Copy dialog box; CopyDialog();
  17. Copy all topic text to Clipboard; CopyTopic();
  18. Add new button to button bar; CreateButton("button-id", "caption", "macro"); CB
  19. Remove menu item; DeleteItem("item-id"); 
  20. Remove text marker; DeleteMark("marker-text");
  21. Remove button; DestroyButton("button-id");
  22. Disable button; DisableButton("button-id"); DB
  23. Disable menu item; DisableItem("item-id"); DI
  24. Enable button; EnableButton("button-id"); EB
  25. Enable menu item; EnableItem("item-id"); EI
  26. Execute Windows application; ExecProgram("command-line", display-state); EP
  27. %Exit Help; Exit();
  28. Enable/Disable Menu Item; ExtAbleItem("item-id", enabled-state);
  29. Insert menu item at given position; ExtInsertItem("menu-id", "item-id", "item-name", "macro", position, enabled-state);
  30. Insert sub-menu off of Help menu; ExtInsertMenu("parentmenu-id", "submenu-id", "submenu-name", submenu-position, enabled-state);
  31. %Open another Help file; FileOpen();
  32. %Enable floating menu; FloatingMenu();
  33. Change focus to specified window; FocusWindow("window-name");
  34. Go to a text marker; GoToMark("marker-text");
  35. *Animation in extended window; HAnimateCommand("animationfile","control-cmd","windowtitle"); 
  36. *Play Audio file; HAudioCommand("wavfile","control-cmd"); 
  37. *Display Audio Dialog in extended window; HAudioDialog("wavfile","windowtitle"); 
  38. *Display bitmap in extended window; HDisplayBmp("bitmapfile","windowtitle"); 
  39. %Display Help on Windows Help; HelpOn();
  40. %Toggle on-top state of Window Help; HelpOnTop();
  41. %Display History dialog box; History();
  42. Execute macro if text marker exists; IfThen(IsMark("marker-text"), "macro");
  43. Execute one of two macros if text marker exists; IfThenElse(IsMark("marker-text"), "macro1", "macro2");
  44. Insert menu item at given position; InsertItem("menu-id", "item-id", "item-name", "macro", position);
  45. Insert new menu in Help menu bar; InsertMenu("menu-id", "menu-name", menu-position);
  46. Text if text marker exists; IsMark("marker-text");
  47. Jump to Contents topic of a file; JumpContents("filename");
  48. Jump to topic with specified context number; JumpContext("filename", context-number); JC
  49. Jump to Context topic of How To Use Help file; JumpHelpOn(); 
  50. Jump to topic with specified context string; JumpId("filename", "context-string"); JI
  51. Find topic with specified keyword; JumpKeyWord("filename", "keyword"); JK
  52. Execute Multimedia command; mciExecute("command-string");
  53. %Display next topic; Next();
  54. Test if text marker does not exist; Not(IsMark("marker-text"));
  55. Popup topic specified by context number; PopupContext("filename", context-number); PC
  56. Popup topic specified by context string; PopupId("filename", "context-string"); PI
  57. Set position and size of Help Window; PositionWindow(x, y, width, height, state, "window-name"); PW
  58. %Display previous topic; Prev(); 
  59. %Print the current topic; Print();
  60. %Setup the printer; PrinterSetup();
  61. Register DLL routine as a macro; RegisterRoutine("DLL-name", "function-name", "format-spec"); RR
  62. Remove an accelerator key assignment; RemoveAccelerator(key, shift-state); RA
  63. %Reset Help menus to default; ResetMenu();
  64. Mark location of text; SaveMark("marker-text");
  65. %Search using keywords; Search();
  66. Specify Contents topic; SetContents("filename", context-number);
  67. Replace How To Use Help file; SetHelpOnFile("filename");
  68. Play sound from WAV file; sndPlaySound("filename", play-flag);
  69. Uncheck menu item; UncheckItem("item-id"); UI
  70. User defined macro; User();
  71.