home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / SAMPLES / ICLUI / HELLO5 / AHELLOW5.IPF < prev    next >
Text File  |  1993-10-14  |  8KB  |  234 lines

  1. :userdoc.
  2. :docprof toc=123456.
  3. :title.C++ Hello World Help
  4. :h1.C++ Hello World - Application Help
  5. :p.This file contains the help for the C++ Hello World Application.
  6. :h2 res=100.C++ Hello World - Main Window Help
  7. :i1.Main Window Help
  8. :p.This is the help panel for the main window.
  9. The main window contains the following areas:
  10. :ul.
  11. :li.The title bar icon, which provides access to the system menu.
  12. :li.The window title, which displays the title of the window.
  13. :li.The menu bar, which allows the user to select specific actions.
  14. :li.A status line, which contains the current alignment.
  15. :li.A client area, which is divided into three areas:
  16. :ul.
  17. :li.The first area contains the static text for "Hello, World".
  18. :li.The second area is a graphic control that shows a graphic of the world
  19. from space with stars.
  20. :li.The third area contains a list box that allows the user to change the
  21. "Hello, World" text string.
  22. :eul.
  23. :li.Alignment push buttons, which change the alignment, and a help push
  24. button, which is used to request help.
  25. :li.An information area, which helps the user understand the current options
  26. of the program, including the menu bar choices.
  27. :eul.
  28. :h2 res=102.C++ Hello World - List Box Help
  29. :p.This is the help panel for the list box window.
  30. Selecting any item in the list box changes the "Hello, World" text.
  31. The code that handles the list box can be found in AHELLOW5.CPP.
  32. :h2 res=110.C++ Hello World - Edit Menu Help
  33. :p.This is the help panel for the Edit menu.
  34. :p.
  35. This submenu (MI_EDIT) can be found under the following statement in the
  36. resource file (AHELLOW5.RC):
  37. :xmp.
  38.     SUBMENU "~Edit", MI_EDIT                //Edit Submenu
  39. :exmp.
  40. :p.
  41. This help panel (id=110) was linked to the menu item (MI_EDIT)
  42. by the following statement in the resource file (AHELLOW5.RC):
  43. :xmp.
  44.     HELPSUBITEM MI_EDIT, 110            //Edit Menu
  45. :exmp.
  46. :h3 res=111.C++ Hello World - Alignment Menu Help
  47. :i1 id=align.Alignment Help
  48. :p.This is the help panel for the Alignment menu item.
  49. :p.
  50. This submenu (MI_ALIGNMENT) can be found under the following statement in the
  51. resource file (AHELLOW5.RC):
  52. :xmp.
  53.     SUBMENU "~Alignment", MI_ALIGNMENT      //Alignment Submenu
  54. :exmp.
  55. :p.
  56. This help panel (id=111) was linked to the menu item (MI_ALIGNMENT)
  57. by the following statement in the resource file (AHELLOW5.RC):
  58. :xmp.
  59.     HELPSUBITEM MI_ALIGNMENT, 111       //Alignment Menu
  60. :exmp.
  61. :h4 res=112.C++ Hello World - Left Command Help
  62. :i2 refid=align.Left Alignment
  63. :p.This is the help panel for the Left alignment command.
  64. Selecting the Left menu item or Left push button sets the "Hello, World"
  65. text to be left aligned.
  66. :p.
  67. This menu item (MI_LEFT) was created by the following statement in the
  68. resource file (AHELLOW5.RC):
  69. :xmp.
  70.     MENUITEM "~Left\tF7",   MI_LEFT     //Left Menu Item - F7 Key
  71. :exmp.
  72. :p.
  73. The code that handles this menu item can be found in AHELLOW5.CPP under the
  74. following case statement:
  75. :xmp.
  76.     case MI_LEFT:                       //Code to Process Left Command Item
  77. :exmp.
  78. :p.
  79. This help panel (id=112) was linked to the menu item (MI_LEFT)
  80. by the following statement in the resource file (AHELLOW5.RC):
  81. :xmp.
  82.     HELPSUBITEM MI_LEFT, 112            //Left Menu Item
  83. :exmp.
  84. :h4 res=113.C++ Hello World - Center Command Help
  85. :i2 refid=align.Center Alignment
  86. :p.This is the help panel for the Center alignment command.
  87. Selecting the Center menu item or Center push button sets the
  88. "Hello, World" text to be center aligned.
  89. :p.
  90. This menu item (MI_CENTER) was created by the following statement in the
  91. resource file (AHELLOW5.RC):
  92. :xmp.
  93.     MENUITEM "~Center\tF8", MI_CENTER   //Center Menu Item - F8 Key
  94. :exmp.
  95. :p.
  96. The code that handles this menu item can be found in AHELLOW5.CPP under the
  97. following case statement:
  98. :xmp.
  99.     case MI_CENTER:                     //Code to Process Center Command Item
  100. :exmp.
  101. :p.
  102. This help panel (id=113) was linked to the menu item (MI_CENTER)
  103. by the following statement in the resource file (AHELLOW5.RC):
  104. :xmp.
  105.     HELPSUBITEM MI_CENTER, 113          //Center Menu Item
  106. :exmp.
  107. :h4 res=114.C++ Hello World - Right Command Help
  108. :i2 refid=align.Right Alignment
  109. :p.This is the help panel for the Right alignment command.
  110. Selecting the Right menu item or Right push button sets the
  111. "Hello, World" text to be right aligned.
  112. :p.
  113. This menu item (MI_RIGHT) was created by the following statement in the
  114. resource file (AHELLOW5.RC):
  115. :xmp.
  116.     MENUITEM "~Right\tF9",  MI_RIGHT    //Right Menu Item - F9 Key
  117. :exmp.
  118. :p.
  119. The code that handles this menu item can be found in AHELLOW5.CPP under the
  120. following case statement:
  121. :xmp.
  122.     case MI_RIGHT:                      //Code to Process Right Command Item
  123. :exmp.
  124. :p.
  125. This help panel (id=114) was linked to the menu item (MI_RIGHT)
  126. by the following statement in the resource file (AHELLOW5.RC):
  127. :xmp.
  128.     HELPSUBITEM MI_RIGHT, 114           //Right Menu Item
  129. :exmp.
  130. :h3 res=199.C++ Hello World - Text... Menu Help
  131. :p.This is the help panel for the Text... menu item.
  132. :p.
  133. This menu item (MI_TEXT) was created by the following statement in the
  134. resource file (AHELLOW5.RC):
  135. :xmp.
  136.     MENUITEM "~Text...", MI_TEXT            //Text Menu Item
  137. :exmp.
  138. :p.
  139. The code that handles this menu item can be found in AHELLOW5.CPP under the
  140. following case statement:
  141. :xmp.
  142.     case MI_TEXT:                       //Code to Process Text Command
  143. :exmp.
  144. :p.
  145. This help panel (id=199) was linked to the menu item (MI_TEXT)
  146. by the following statement in the resource file (AHELLOW5.RC):
  147. :xmp.
  148.     HELPSUBITEM MI_TEXT, 199            //Right Menu Item              .
  149. :exmp.
  150. :h2 res=200.C++ Hello World - Dialog Window Help
  151. :p.This is the help panel for the text dialog.
  152. :h3 res=201.C++ Hello World - Dialog Entry Field Help
  153. :p.This is the help panel for the entry field in the text dialog.
  154. :p.
  155. This entry field was defined by the following statement in the dialog
  156. resource file (ADIALOG5.DLG):
  157. :xmp.
  158.     ENTRYFIELD      "", DID_ENTRY, 8, 44, 114, 8, ES_MARGIN
  159. :exmp.
  160. :p.
  161. The application code that handles this entry field can be found in
  162. ADIALOG5.CPP.
  163. :p.
  164. This help panel (id=201) was linked to this entry field (DID_ENTRY)
  165. by the following statement in the resource file (AHELLOW5.RC):
  166. :xmp.
  167.     HELPSUBITEM DID_ENTRY, 201          //Entry Field <-> Help ID 201
  168. :exmp.
  169. :h3 res=202.C++ Hello World - Dialog OK Button Help
  170. :p.This is the help panel for the OK push button in the text dialog.
  171. Selecting this push button closes the dialog.
  172. Any changes made to the "Hello, World" text are shown in the main
  173. window.
  174. :p.
  175. The OK push button is defined by the following statement in the dialog
  176. resource file (ADIALOG5.DLG):
  177. :xmp.
  178.     DEFPUSHBUTTON   "OK", DID_OK, 6, 4, 40, 14
  179. :exmp.
  180. :p.
  181. The application code that handles this push button field can be found
  182. in ADIALOG5.CPP.
  183. :p.
  184. This help panel (id=202) was linked to this entry field (DID_OK)
  185. by the following statement in the resource file (AHELLOW5.RC):
  186. :xmp.
  187.     HELPSUBITEM DID_OK, 202             //OK Button <-> Help ID 202
  188. :exmp.
  189. :h3 res=203.C++ Hello World - Dialog Cancel Button Help
  190. :p.This is the text for the Cancel push button in the text dialog.
  191. Selecting this button closes the dialog without changing the
  192. "Hello, World" text.
  193. :p.
  194. The Cancel push button is defined by the following statement in the dialog
  195. resource file (ADIALOG5.DLG):
  196. :xmp.
  197.     PUSHBUTTON      "Cancel", DID_CANCEL, 49, 4, 40, 14
  198. :exmp.
  199. :p.
  200. The application code that handles this push button field can be found
  201. in ADIALOG5.CPP.
  202. :p.
  203. This help panel (id=203) was linked to this entry field (DID_CANCEL)
  204. by the following statement in the resource file (AHELLOW5.RC):
  205. :xmp.
  206.     HELPSUBITEM DID_CANCEL, 203         //OK Button <-> Help ID 203
  207. :exmp.
  208. :h2 res=1000.C++ Hello World - Keys Help Panel
  209. :i1.Keys Help Panel
  210. :p.This is the keys help panel.
  211. :p.The following is a list of system-provided keys:
  212. :dl compact tsize=10.
  213. :dt.Alt-F4
  214. :dd.Close window.
  215. :dt.Alt-F7
  216. :dd.Move window.
  217. :dt.Alt-F8
  218. :dd.Size window.
  219. :dt.Alt-F9
  220. :dd.Minimize window.
  221. :dt.Alt-F10
  222. :dd.Maximize window.
  223. :edl.
  224. :p.The following is a list of application-provided keys:
  225. :dl compact tsize=10.
  226. :dt.F7
  227. :dd.Left alignment.
  228. :dt.F8
  229. :dd.Center alignment.
  230. :dt.F9
  231. :dd.Right alignment.
  232. :edl.
  233. :euserdoc.
  234.