Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

253 lines
8.1 KiB

  1. {\rtf1
  2. {\comment ************************************************************
  3. *
  4. * This is a simple RTF help file. It was constructed with a regular
  5. * text editor, and using normal RTF syntax to define the various
  6. * things that the Help Compiler knows how to interpret, and turn into
  7. * a proper WinHelp file.
  8. *
  9. * Where necessary and appropriate, there will be comments like this
  10. * one to assist you in understanding what this help file is doing.
  11. *
  12. **********************************************************************
  13. }
  14. {\comment ************************************************************
  15. *
  16. * Before we do anything else, we need to define the font table that we
  17. * will be using, I will then set the default font to '0' (Arial)
  18. * and the font size to 16
  19. *
  20. **********************************************************************
  21. }
  22. {\fonttbl
  23. \f0\fswiss Arial;
  24. \f1\froman Times New Roman;
  25. \f2\fmodern Courier New;
  26. \f3\fswiss MS Sans Serif;
  27. \f4\froman MS Serif;
  28. }
  29. \deff0
  30. \fs18
  31. {\comment ************************************************************
  32. *
  33. * Now lets get started. Here is the first topic of this help file. It
  34. * is normal for this to be the CONTENTS page.
  35. *
  36. **********************************************************************
  37. }
  38. {\comment ************************************************************
  39. * CONTENTS
  40. **********************************************************************
  41. }
  42. \keepn
  43. {\comment ************************************************************
  44. * The WinHelp compiler turns 'footnotes' into the special index tags
  45. * used to organize the popups and jumps throughout your help file.
  46. **********************************************************************
  47. }
  48. {\comment ************************************************************
  49. * WinHelp used 'footnotes' to keep track of various aspects about a
  50. * particular help page. The three most common footnote types are
  51. * "#", "$", and "K".
  52. * --------------------------------------------------------------------
  53. * # Specifies a context string. The text parameter can be any
  54. * combination of letters and digits but must not contain spaces.
  55. * Uppercase and lowercase characters are treated as equivalent
  56. * characters (case-insensitive). The context string can be used
  57. * with the \v statement in other topics to create links to this
  58. * topic. (I'll talk about this later). The Context string should be
  59. * unique to this help file, and is never actually seen by the user.
  60. * --------------------------------------------------------------------
  61. * $ Specifies a topic title. Windows Help uses the topic title to
  62. * identify the topic in the Search and History dialog boxes. The
  63. * text parameter can be any combination of characters including
  64. * spaces.
  65. * --------------------------------------------------------------------
  66. * K Specifies a keyword. Windows Help displays all keywords in the
  67. * Help file in the Search dialog box and allows a user to choose
  68. * a topic to view by choosing a keyword. The text parameter can be
  69. * any combination of characters including spaces. If the first
  70. * character is the letter K, it must be preceded with an extra
  71. * space or a semicolon. More than one keyword can be given by
  72. * separating the keywords with semicolons (;). A topic cannot
  73. * contain keywords unless it also has a topic title.
  74. **********************************************************************
  75. }
  76. #{\footnote CONTENTS}
  77. ${\footnote Contents}
  78. K{\footnote Contents}
  79. \{bmc generic.bmp\} {\comment : Here we include the bitmap image}
  80. {
  81. \b
  82. \fs32
  83. \tab
  84. GENERIC: A Windows Application
  85. }
  86. \par
  87. \pard
  88. \sb150
  89. GENERIC is a sample application to illustrate the 'minimum' functionality
  90. that should be expected of a well behaved Win32 application. Other
  91. then that, this application has virtually no actual functionality of
  92. its own. This makes it easier for you to use this as a starting point
  93. for your own application development, or investigation of the Win32
  94. API.\par
  95. You are now looking at the \"WinHelp\" file for Generic. It illustrates
  96. a few of the aspects of a simple Help file for an application.
  97. This is the Contents page of the help file, and should give a very quick
  98. overview of the application, as well as provide a useful outline of
  99. the contents of this file so the user can easily navigate through the
  100. information it contains.
  101. \par
  102. \{bmc help.bmp\}
  103. \par
  104. {\comment ************************************************************
  105. * Hot Spots:
  106. * Here is where we actually end up using the 'Context String' data
  107. * that we specify in footnotes. There are two important parts of
  108. * this. First, is the 'label' for the footnote, which is followed
  109. * by the 'destination'. The 'label' must have some sort of underline
  110. * style associated with it. A double underline (as used here) means
  111. * that this is a 'jump' hotspot, which means WinHelp will jump to
  112. * the help topic indicated by the destination. A single underline
  113. * would cause a 'popup' hotspot, which means a popup window is
  114. * brought up temporarily with the help topic data. The 'destination'
  115. * must immediately follow the 'label', and uses the \v attribute
  116. * which would normally make the text 'invisible' or 'hidden' So
  117. * in the first example below, the user would see 'Introduction' on
  118. * their help page, and when they click on it, it jumps to the
  119. * topic with a '#' footnote label of 'INTRODUCTION'. To create
  120. * popup hotspots instead of \uldb, use \ul or \strike.
  121. **********************************************************************
  122. }
  123. \tab{\uldb Introduction{\v INTRODUCTION}}\par
  124. \tab{\uldb First Application Topic{\v FIRST_TOPIC}}\par
  125. \tab{\uldb Second Application Topic{\v SECOND_TOPIC}}\par
  126. \tab{\uldb Third Application Topic{\v THIRD_TOPIC}}\par
  127. \tab{\uldb Fourth Application Topic{\v FOURTH_TOPIC}}\par
  128. \pard
  129. \page
  130. {\comment ************************************************************
  131. * INTRODUCTION
  132. **********************************************************************
  133. }
  134. \keepn
  135. #{\footnote INTRODUCTION}
  136. ${\footnote Introduction}
  137. K{\footnote Introduction}
  138. \{bmc generic.bmp\} {\comment : Here we include the bitmap image}
  139. {
  140. \b
  141. \fs32
  142. \tab
  143. GENERIC: A Windows Application
  144. }
  145. \par\pard
  146. \sb100
  147. Generic is intended as an application that essentially has no
  148. functionality, other then that which should be expected from {\i any}
  149. Windows application. As such, it should be considered an illustration
  150. of the {\i minimum} functionality that your application should contain.
  151. \par
  152. \pard
  153. \page
  154. {\comment ************************************************************
  155. * BRIEFINTRO
  156. **********************************************************************
  157. }
  158. \keepn
  159. #{\footnote BRIEFINTRO}
  160. This is an extremely minimal application that illustrates features
  161. that should be common to all Windows Applications.
  162. \par
  163. \pard
  164. \page
  165. {\comment ************************************************************
  166. * First Topic
  167. **********************************************************************
  168. }
  169. \keepn
  170. #{\footnote FIRST_TOPIC}
  171. ${\footnote Topics}
  172. K{\footnote Topics: First}
  173. {\fs24\b First Application Topic}
  174. \par\pard
  175. \sb100
  176. [Text to be included at a later time]
  177. \par
  178. \pard
  179. \page
  180. {\comment ************************************************************
  181. * Second Topic
  182. **********************************************************************
  183. }
  184. \keepn
  185. #{\footnote SECOND_TOPIC}
  186. ${\footnote Topics}
  187. K{\footnote Topics: Second}
  188. {\fs24\b Second Application Topic}
  189. \par\pard
  190. \sb100
  191. [Text to be included at a later time]
  192. \par
  193. \pard
  194. \page
  195. {\comment ************************************************************
  196. * Third Topic
  197. **********************************************************************
  198. }
  199. \keepn
  200. #{\footnote THIRD_TOPIC}
  201. ${\footnote Topics}
  202. K{\footnote Topics: Third}
  203. {\fs24\b Third Application Topic}
  204. \par\pard
  205. \sb100
  206. [Text to be included at a later time]
  207. \par
  208. \pard
  209. \page
  210. {\comment ************************************************************
  211. * Fourth Topic
  212. **********************************************************************
  213. }
  214. \keepn
  215. #{\footnote FOURTH_TOPIC}
  216. ${\footnote Topics}
  217. K{\footnote Topics: Fourth}
  218. {\fs24\b Fourth Application Topic}
  219. \par\pard
  220. \sb100
  221. [Text to be included at a later time]
  222. \par
  223. \pard
  224. \page
  225. {\comment *** End of RTF File *** }
  226. }