home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / HELLO5 / AHELLOW5.HLP (.txt) < prev    next >
OS/2 Help File  |  1995-05-31  |  7KB  |  223 lines

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