home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / os2 / dllapi / dllapi.ipf < prev    next >
Encoding:
Text File  |  1999-05-11  |  7.9 KB  |  176 lines

  1. .*==============================================================*\
  2. .*                                                              *
  3. .* DLLAPI.IPF - Information Tag Language file for the Help menu *
  4. .*              help panels.                                    *
  5. .*                                                              *
  6. .*==============================================================*/
  7. :userdoc.
  8.  
  9. .*--------------------------------------------------------------*\
  10. .*  Main window extended help panel
  11. .*      res = PANEL_MAIN
  12. .*--------------------------------------------------------------*/
  13. :h1 res=4110 name=PANEL_MAIN.About DLL
  14. :i1 id=aboutMain.About DLL
  15. :p.  The DLL application is a sample Presentation Manager application
  16. which demonstrates the use of a dynamic linking library. It consists 
  17. of a DLL file that provides a 32-bit API and an EXE sample program that
  18. calls the API.  The DLL uses exception management to catch general
  19. protection faults that occur when the API is called with invalid 
  20. pointers. The EXE illustrates that it can't touch the protected data by
  21. attempting to access it directly, causing an access fault. The EXE should
  22. handle all faults it causes and print user messages to the screen.
  23.  
  24. .*--------------------------------------------------------------*\
  25. .*  Main Help menu                                              *
  26. .*      res = PANEL_HELP                                        *
  27. .*--------------------------------------------------------------*/
  28. :h1 res=4120 name=PANEL_HELP.Help Menu
  29. :i1 id=Help.Help Menu
  30. :p.Use the choices on the Help pull-down to display:
  31. :dl tsize=5 break=all.
  32. :dt.:hp2.Help index:ehp2.
  33. :dd.Displays the index of help menu.
  34. :dt.:hp2.General Help:ehp2.
  35. :dd.Displays some information about DLLAPI sample program.
  36. :dt.:hp2.Keys Help:ehp2.
  37. :dd.Displays a list of keys usage.
  38. :dt.:hp2.Using Help:ehp2.
  39. :dd.Provides detailed information on the kinds of help available and how to
  40. use help.
  41. :edl.
  42.  
  43. .*--------------------------------------------------------------*\
  44. .*  Help menu item Help for help... help panel                  *
  45. .*      res = PANEL_GENERALHELP                                 *
  46. .*--------------------------------------------------------------*/
  47. :h1 res=4130 name=PANEL_GENERALHELP.General Help
  48. :i2 refid=Help.Help for Help
  49. :p.Use this choice to get general help for the program. General help
  50. provides general information about the DLLAPI sample program.
  51.  
  52. .*--------------------------------------------------------------*\
  53. .*  Help menu item Extended help... help panel                  *
  54. .*      res = PANEL_USINGHELP                                   *
  55. .*--------------------------------------------------------------*/
  56. :h1 res=4140 name=PANEL_USINGHELP.Extended
  57. :i2 refid=Help.Using Help
  58. :p.Use this choice to obtain information on how to
  59. use the Help facility.
  60.  
  61. .*--------------------------------------------------------------*\
  62. .*  Help menu item Keys help... help panel                      *
  63. .*      res = PANEL_TUTORIAL                                    *
  64. .*--------------------------------------------------------------*/
  65. :h1 res=4150 name=PANEL_TUTORIAL.Tutorial of Keys
  66. :i2 refid=Help.Keys Help
  67. :p.Use this choice to see a list of keys and a description of the
  68. functions of the keys.
  69.  
  70. .*--------------------------------------------------------------*\
  71. .*  Keys help panel                                             *
  72. .*      res = PANEL_KEYSHELP                                    *
  73. .*--------------------------------------------------------------*/
  74. :h2 res=4180 name=PANEL_KEYSHELP.Key Assigments
  75. :p.The list of keys is arranged in groups.
  76. :p.:hp2.ACCELERATOR KEYS:ehp2.
  77. :dl tsize=2 break=all.
  78. :p.:hp2.HELP KEYS:ehp2.
  79. :dl tsize=5 break=all.
  80. :dt.F1
  81. :dd.Get help
  82. :dt.Esc
  83. :dd.Previous Help Panel, or End help if only one panel
  84. :dt.Alt
  85. :dd.Switch IN/OUT action bar
  86. :dt.Alt+F4
  87. :dd.End help or End program
  88. :edl.
  89. :p.:hp2.SYSTEM KEYS:ehp2.
  90. :dl tsize=5 break=all.
  91. :dt.Alt+Esc
  92. :dd.Switch to the next program, including full-screen programs
  93. :dt.Ctrl+Esc
  94. :dd.Switch to the Task List
  95. :edl.
  96. :p.:hp2.WINDOW KEYS:ehp2.
  97. :dl tsize=5 break=all.
  98. :dt.Underlined letter
  99. :dd.Move among the choices on the action bar and pull-downs submenu or
  100. execute the function chosen
  101. :edl.
  102.  
  103. .*--------------------------------------------------------------*\
  104. .*  Help menu item Help index... help panel                     *
  105. .*      res = PANEL_HELPINDEX                                   *
  106. .*--------------------------------------------------------------*/
  107. :edl.
  108. :h1 res=4160 name=PANEL_HELPINDEX.Index
  109. :i2 refid=Help.Help Index
  110. :p.Use this choice to display the help index.
  111. :p.The help index lists the titles of the help information that is available.
  112.  
  113. .*--------------------------------------------------------------*\
  114. .*  Help menu item Product... help panel                        *
  115. .*      res = PANEL_HELPPRODUCTINFO                             *
  116. .*--------------------------------------------------------------*/
  117. :h1 res=4170 name=PANEL_HELPPRODUCTINFO.Information
  118. :i2 refid=Help.Information
  119. :p.This dialog displays information about the application, such as version
  120. number and copyright notice.
  121.  
  122. .*--------------------------------------------------------------*\
  123. .*  Help menu item ProductOK... help panel                      *
  124. .*      res = PANEL_PRODUCTINFO_OK                              *
  125. .*--------------------------------------------------------------*/
  126. :h1 res=4220 name=PANEL_PRODUCTINFO_OK.Information
  127. :i2 refid=HELP.PRODUCTOK Information
  128. :p.The OK button closes the dialog box.
  129.  
  130. .*--------------------------------------------------------------*\
  131. .*  Help menu item Search... help panel                         *
  132. .*      res = PANEL_SEARCHHELP                                  *
  133. .*--------------------------------------------------------------*/
  134. :h1 res=4190 name=PANEL_SEARCHHELP.Information
  135. :i2 refid=HELP.SEARCH Information
  136. :p.This menu item will bring up a File-Search dialog box which can read
  137. the file path and searched pattern.
  138.  
  139. .*--------------------------------------------------------------*\
  140. .*  Help menu item Open... help panel                           *
  141. .*      res = PANEL_OPENHELP                                    *
  142. .*--------------------------------------------------------------*/
  143. :h1 res=4191 name=PANEL_OPENHELP.Information
  144. :i2 refid=HELP.OPEN Information
  145. :p.This menu item will bring up a File-Open dialog box. User can input
  146. the file name which will be opened and be read.
  147.  
  148. .*--------------------------------------------------------------*\
  149. .*  Help menu item OpenOK... help panel                         *
  150. .*      res = PANEL_OPENBOX_OK                                  *
  151. .*--------------------------------------------------------------*/
  152. :h1 res=4232 name=PANEL_OPENBOX_OK.Information
  153. :i2 refid=HELP.OPENOK Information
  154. :p.The OK button closes the dialog box and displays the next dialog box which
  155. will display the first 200 bytes of the opened file.
  156.  
  157. .*--------------------------------------------------------------*\
  158. .*  Help menu item Calculator... help panel                     *
  159. .*      res = PANEL_CALCULHELP                                  *
  160. .*--------------------------------------------------------------*/
  161. :h1 res=4192 name=PANEL_CALCULHELP.Information
  162. :i2 refid=HELP.CALCULATOR Information
  163. :p.This menu item will bring up a Calculator dialog box which contains the
  164. operand and operation fields.
  165.  
  166. .*--------------------------------------------------------------*\
  167. .*  Help menu item CalculatorOK... help panel                   *
  168. .*      res = PANEL_CALCULBOX_OK                                *
  169. .*--------------------------------------------------------------*/
  170. :h1 res=4237 name=PANEL_CALCULBOX_OK.Information
  171. :i2 refid=HELP.CALCULOK Information
  172. :p.The OK button closes the dialog box and displays the next dialog box which
  173. will display the result of the operation.
  174.  
  175. :euserdoc.
  176.