home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / smarts / ioc / iclui.ipf < prev    next >
Encoding:
Text File  |  1996-02-21  |  4.3 KB  |  150 lines

  1.  
  2. .*---------------------------------------------------------------
  3. .* A sample IPF file -- source for a help (.HLP) file.
  4. .*---------------------------------------------------------------
  5.  
  6. :userdoc.
  7.  
  8. .nameit symbol=product text='$TITLE$'
  9. .*--------------------------------
  10. :h1 id=mainwin res=100.&product.
  11. :i1.general help
  12. :i1.about the &product.
  13. :p.
  14. This is general help for the &product..
  15. :p.
  16. The &product. uses the IBM User Interface Class Library to
  17. implement features that are common to many
  18. :link reftype=fn refid=MSTrade.Windows:elink.
  19. programs, like a menu bar containing
  20. :link reftype=hd refid=file.File:elink. and
  21. :link reftype=hd refid=edit.Edit:elink.
  22. and :hp2.Help:ehp2. action bar items.  You can use the &product.
  23. as a template from which to build your own user-interface applications.
  24. :p.
  25. The &product. is fully help-enabled, and uses string resources,
  26. instead of string literals, to facilitate translation.
  27. :p.
  28. To use the &product., open a file by selecting
  29. :link reftype=hd refid=open.Open:elink. from
  30. the :hp2.File:ehp2. pull-down.  The file is opened, and displayed
  31. in the client area of the window.  The application implements a simple
  32. text file editor.
  33. .*--------------------------------
  34. :fn id=MStrade.
  35. :p.
  36. A trademark of Microsoft Corporation.
  37. :efn.
  38. .*--------------------------------
  39. :fn id=IBMtrade.
  40. :p.
  41. A trademark of the IBM Corporation.
  42. :efn.
  43. .*--------------------------------
  44. :h1 id=file res=110.File
  45. :i1.file
  46. :p.
  47. Help for :hp2.File:ehp2..
  48. .*--------------------------------
  49. :h2 id=open res=130.Open
  50. :i1.open
  51. :i1.opening files
  52. :p.
  53. Help for :hp2.Open:ehp2. menu item.
  54. .*--------------------------------
  55. :h2 id=opendlg res=135.File open
  56. :i1.file open dialog
  57. :i1 id=dialog.dialog
  58. :i2 refid=dialog.file open
  59. :p.
  60. Help for :hp2.File open:ehp2. dialog.
  61. :p.
  62. Enter the name of the file to open in the :hp2.Open filename:ehp2.
  63. entry field.
  64. .*--------------------------------
  65. :h2 id=save res=140.Save
  66. :i1.save
  67. :p.
  68. Help for :hp2.Save:ehp2..
  69. .*--------------------------------
  70. :h2 id=saveas res=150.Save as
  71. :i1.save as
  72. :p.
  73. Help for :hp2.Save as:ehp2. menu item.
  74. .*--------------------------------
  75. :h2 id=savedlg res=155.Save as
  76. :i1.save as dialog
  77. :i2 refid=dialog.save as
  78. :p.
  79. Help for :hp2.Save as:ehp2. dialog.
  80. :p.
  81. Enter the name of the file to save in the :hp2.Save as filename:ehp2.
  82. entry field.
  83. .*--------------------------------
  84. :h2 id=close res=170.Close
  85. :i1.close
  86. :p.
  87. Help for :hp2.Close:ehp2..
  88. .*--------------------------------
  89. :h1 id=edit res=180.Edit
  90. :i1.edit
  91. :p.
  92. Help for :hp2.Edit:ehp2..
  93. .*--------------------------------
  94. :h2 id=copy res=200.Copy
  95. :i1.copy
  96. :p.
  97. Help for :hp2.Copy:ehp2..
  98. .*--------------------------------
  99. :h2 id=cut res=210.Cut
  100. :i1.cut
  101. :p.
  102. Help for :hp2.Cut:ehp2..
  103. .*--------------------------------
  104. :h2 id=paste res=220.Paste
  105. :i1.paste
  106. :p.
  107. Help for :hp2.Paste:ehp2..
  108. .*
  109. .*****************************************************
  110. .*  Help for messages
  111. .*****************************************************
  112. .*
  113. .*--------------------------------
  114. :h1 hide id='msg1' res=8000.Message Help
  115. :p.
  116. The file you selected could not be opened for one or
  117. more of the following reasons&colon.
  118. :ul compact.
  119. :li.The file could not be found.  It may have been deleted, renamed,
  120. or moved.
  121. :li.There are too many open files.  If this is the case, increase
  122. the FILES= number in your CONFIG.SYS.
  123. :li.Access to the file was denied.  Check the file's attributes and
  124. make sure that you have write access to the file.
  125. :li.The file may be in use by another process.  Stop all processes
  126. that could be using the file and try opening the file again.
  127. :li.The disk is full.
  128. :eul.
  129. :p.
  130. Check that none of the above conditions is true
  131. and try the opening the file again.
  132. .*--------------------------------
  133. :h1 hide id='msg2' res=8010.Message Help
  134. :p.
  135. This action is invalid until you have opened a file.  Open
  136. a file by selecting :hp2.Open...:ehp2. from the :hp2.File:ehp2.
  137. pull-down menu.
  138. .*--------------------------------
  139. :h1 hide id='msg3' res=8020.Message Help
  140. :p.
  141. Help is not available due to one or more of the
  142. following reasons&colon.
  143. :ul compact.
  144. :li.The HELP.HLP file is not present on the HELP path.  Ensure
  145. that the \HELP directory is present along your HELP path, and that
  146. the HELP.HLP file exists.
  147. :li.The HELP.HLP file is corrupted.
  148. :eul.
  149. :euserdoc.
  150.