home *** CD-ROM | disk | FTP | other *** search
- //
- // This template demonstrates the use of macros in the
- // winhelp 3.1 help system
- //
-
- /topic MACRO_EXAMPLES,WIN31
-
- /title Macro Examples
-
- /para \sa150 \brdrb \brdrth \keepn
- /text \b\fs40,Macro Examples {\cf0\i (Win 3.1) }
- /endpara
-
- /para \li600
- Here is where we try the macro link ability of WinHelp 3.1.
- The following is a small sampling of the macros available
- in the 3.1 help system. You really must get some of the Windows
- documentation to take full advantage of them. I suggest \line \line
-
- Microsoft Windows 3.1 \line
- Programmer's Reference \line
- Volume 4 \line
- Resources \line \line
-
- Chapter 15 of this book covers all of the macros in detail, so
- if you want to really do the macro thing, pop for the 23 bucks
- and put a little more cash into Bill Gates retirement fund! \line \line
-
- /macrolink Tell Me About it! \line,About()
- /macrolink Annotate me \line,Annotate()
- /macrolink Go Back \line,Back()
- /macrolink Define a bookmark \line,BookmarkDefine()
- /macrolink More bookmarks \line,BookmarkMore()
- /macrolink Show Browse Buttons \line,BrowseButtons()
- /macrolink Add Time Button \line,CreateButton("clock_btn","&Time","ExecProgram(`clock',0)")
- /macrolink Time now is Notepad \line,ChangeButtonBinding("clock_btn","ExecProgram(`notepad',0)")
- /macrolink Destroy Time Button \line,DestroyButton("clock_btn")
- /macrolink Contents... \line,Contents()
- /macrolink Copy Me \line,CopyDialog()
- /macrolink Copy topic to Clipboard \line,CopyTopic()
-
- /endpara
-
- /endtopic
-
- //
- // Tabs
- //
-
- /topic TAB_EXAMPLES
-
- /title Tab Examples
- /keywords Tabs;Examples
-
- /para \sa150 \brdrb \brdrth
- /text \b\fs40,Tab Examples
- /endpara
-
- /para \li400 \ri400 \sa150 \box \brdrsh
- This will be the text for the tabs example.
- We will put some tabs here just to show you how to do it.
- /endpara
-
- /para \li400\tqr\tx2700\tqc\tx4000
- /text \ul,Left \tab Right \tab Centered
- /newline
- 1111 \tab 2222 \tab 3333
- /newline
- 4444 \tab 5555 \tab 6666
- /newline
- 7777 \tab 8888 \tab 9999
- /endpara
-
-
- /endtopic
-