home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / HELLO5 / AHELLOW5.IPF < prev    next >
Text File  |  1994-10-14  |  8KB  |  216 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 Earth
  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 item help ID
  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 item help ID
  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:                    
  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 command help ID
  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:                     
  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 command help ID
  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:    
  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 command help ID
  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 dialog 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:                      
  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            //Text command help ID    
  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. The entry field is defined as textField in adialog5.hpp and
  156. is initialized and handled by code found in adialog5.cpp.
  157. :p.
  158. This help panel (id=201) was linked to this entry field (DID_ENTRY)
  159. by the following statement in the resource file (ahellow5.rc):
  160. :xmp.
  161.     HELPSUBITEM DID_ENTRY, 201          //Entry field help ID         
  162. :exmp.
  163. :h3 res=202.C++ Hello World - Dialog OK Button Help
  164. :p.This is the help panel for the OK push button in the text dialog.
  165. Selecting this push button closes the dialog.
  166. Any changes made to the "Hello, World!!!" text are shown in the main
  167. window.
  168. :p.
  169. The OK push button is defined as pushButton1 in adialog5.hpp and
  170. is initialized and handled by code found in adialog5.cpp.
  171. :p.
  172. This help panel (id=202) was linked to this push button (DID_OK)
  173. by the following statement in the resource file (ahellow5.rc):
  174. :xmp.
  175.     HELPSUBITEM DID_OK, 202             //OK command help ID          
  176. :exmp.
  177. :h3 res=203.C++ Hello World - Dialog Cancel Button Help
  178. :p.This is the text for the Cancel push button in the text dialog.
  179. Selecting this button closes the dialog without changing the
  180. "Hello, World!!!" text.
  181. :p.
  182. The Cancel push button is defined as pushButton2 in adialog5.hpp and
  183. is initialized and handled by code found in adialog5.cpp.
  184. :p.
  185. This help panel (id=203) was linked to this push button (DID_CANCEL)
  186. by the following statement in the resource file (ahellow5.rc):
  187. :xmp.
  188.     HELPSUBITEM DID_CANCEL, 203         //Cancel command help ID      
  189. :exmp.
  190. :h2 res=1000.C++ Hello World - Keys Help Panel
  191. :i1.Keys help panel
  192. :p.This is the keys help panel.
  193. :p.The following is a list of system-provided keys:
  194. :dl compact tsize=10.
  195. :dt.Alt-F4
  196. :dd.Close window
  197. :dt.Alt-F7
  198. :dd.Move window
  199. :dt.Alt-F8
  200. :dd.Size window
  201. :dt.Alt-F9
  202. :dd.Minimize window
  203. :dt.Alt-F10
  204. :dd.Maximize window
  205. :edl.
  206. :p.The following is a list of application-provided keys:
  207. :dl compact tsize=10.
  208. :dt.F7
  209. :dd.Left alignment
  210. :dt.F8
  211. :dd.Center alignment
  212. :dt.F9
  213. :dd.Right alignment
  214. :edl.
  215. :euserdoc.
  216.