home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / VISUAL_B / FERRAMEN / QD_HELP / MACROS.QDH < prev    next >
Encoding:
Text File  |  1994-03-28  |  2.2 KB  |  76 lines

  1. //
  2. // This template demonstrates the use of macros in the
  3. // winhelp 3.1 help system
  4. //
  5.  
  6. /topic MACRO_EXAMPLES,WIN31
  7.  
  8.     /title Macro Examples 
  9.     
  10.     /para \sa150 \brdrb \brdrth \keepn
  11.       /text \b\fs40,Macro Examples {\cf0\i (Win 3.1) }
  12.     /endpara
  13.  
  14.     /para \li600
  15.     Here is where we try the macro link ability of WinHelp 3.1.
  16.     The following is a small sampling of the macros available
  17.     in the 3.1 help system. You really must get some of the Windows
  18.     documentation to take full advantage of them.  I suggest \line \line
  19.  
  20.     Microsoft Windows 3.1 \line
  21.     Programmer's Reference \line
  22.     Volume 4 \line
  23.     Resources \line \line
  24.  
  25.     Chapter 15 of this book covers all of the macros in detail, so
  26.     if you want to really do the macro thing, pop for the 23 bucks
  27.     and put a little more cash into Bill Gates retirement fund! \line \line
  28.    
  29.     /macrolink Tell Me About it! \line,About() 
  30.     /macrolink Annotate me \line,Annotate()
  31.     /macrolink Go Back \line,Back() 
  32.     /macrolink Define a bookmark \line,BookmarkDefine() 
  33.     /macrolink More bookmarks \line,BookmarkMore() 
  34.     /macrolink Show Browse Buttons \line,BrowseButtons() 
  35.     /macrolink Add Time Button \line,CreateButton("clock_btn","&Time","ExecProgram(`clock',0)") 
  36.     /macrolink Time now is Notepad \line,ChangeButtonBinding("clock_btn","ExecProgram(`notepad',0)") 
  37.     /macrolink Destroy Time Button \line,DestroyButton("clock_btn")
  38.     /macrolink Contents... \line,Contents() 
  39.     /macrolink Copy Me \line,CopyDialog() 
  40.     /macrolink Copy topic to Clipboard \line,CopyTopic() 
  41.  
  42.     /endpara
  43.  
  44. /endtopic
  45.  
  46. //
  47. // Tabs
  48. //
  49.  
  50. /topic TAB_EXAMPLES
  51.  
  52.     /title Tab Examples
  53.     /keywords Tabs;Examples
  54.  
  55.     /para \sa150 \brdrb \brdrth
  56.     /text \b\fs40,Tab Examples
  57.     /endpara
  58.  
  59.     /para \li400 \ri400 \sa150 \box \brdrsh
  60.     This will be the text for the tabs example.
  61.     We will put some tabs here just to show you how to do it.
  62.     /endpara
  63.  
  64.     /para \li400\tqr\tx2700\tqc\tx4000
  65.     /text \ul,Left \tab Right \tab Centered
  66.     /newline
  67.     1111 \tab 2222 \tab 3333
  68.     /newline
  69.     4444 \tab 5555 \tab 6666
  70.     /newline
  71.     7777 \tab 8888 \tab 9999
  72.     /endpara
  73.  
  74.  
  75. /endtopic
  76.