home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / clock / english.ipf < prev    next >
Encoding:
Information Presentation Facility markup  |  1993-09-21  |  5.3 KB  |  138 lines

  1. :userdoc.
  2. :title."Clock" Help
  3. :body.
  4.  
  5. :h1 res=1.Introduction
  6. :i1.Introduction
  7. :artwork name='clock.bmp' align=center.
  8. :p.
  9. This program is a substantial revision of Charles Petzold's Clock program,
  10. which can be found in his book, "Programming the OS/2 Presentation Manager".
  11. It displays an analog clock, updated once per second.
  12. :p.
  13. For Frank's Nursery, this program has been modified to monitor system task
  14. count or processing load and to change its border color according to the
  15. current level.
  16. :p.
  17. The help facility is active, as you've already seen, and those program
  18. commands that exist may be accessed via the window's system menu.  The
  19. following commands are available:
  20. :sl compact.
  21. :li.:hpt.Save Defaults:ehpt.:hdref res=11.
  22. :li.:hpt.Reset Defaults:ehpt.:hdref res=12.
  23. :li.:hpt.Hide Controls:ehpt.:hdref res=13.
  24. :li.:hpt.Configure...:ehpt.:hdref res=14.
  25. :li.:hpt.About...:ehpt.:hdref res=15.
  26. :esl.
  27. Außer den schon beschriebenen Vorrichtungen akzeptiert das Programm
  28. auch Kommandos von den OS/2 2.0-Programmen zur Farb- und Schriftartpalette.
  29.  
  30. :h1 res=11.Save Defaults (Menu Option)
  31. :i1.Save Defaults (Menu Option)
  32. When you select this menu option, the program saves its current position
  33. and the status of the Hide Controls option.  The next time the program
  34. is started, it will be started with that position and with the controls
  35. hidden (or not) according to the saved state.
  36. :note.The short-cut key for this command is F2.
  37.  
  38. :h1 res=12.Reset Defaults (Menu Option)
  39. :i1.Reset Defaults (Menu Option)
  40. Selecting this menu option will reset the program's font and color
  41. attributes to their default values.
  42.  
  43. :h1 res=13.Hide Controls (Menu Option)
  44. :i1.Hide Controls (Menu Option)
  45. This menu option, when selected, will cause the program's frame controls
  46. (the system menu, the titlebar and the minimize button) to be hidden.
  47. This option can be toggled with a double-click on either mouse button.
  48. Also, since I saw it as very useful to be able to move the window while
  49. the controls were hidden, the window has been set up so that you can
  50. drag it with either mouse button.
  51. :note.The short-cut key for this command is Alt+H.
  52.  
  53. :h1 res=14.Configure (Menu Option)
  54. :i1.Configure (Menu Option)
  55. This menu option, when selected, will cause the program's configuration
  56. dialog to be displayed.
  57. :note.The short-cut key to this option is Alt+C.
  58.  
  59. :h1 res=140.Configure (Dialog)
  60. :i1.Configure (Dialog)
  61. This dialog allows you to change all configurable aspects of this
  62. program's operation.  To escape without effecting any changes, press
  63. the ESCAPE key or click on the Escape pushbutton.
  64. To save the changes you've made, press the ENTER key
  65. or click on the OK pushbutton.
  66. .br
  67. The configurable items include the following:
  68. :p.
  69. :hp2.Clock Type:ehp2.
  70. The clock face can be either analog (with hands) or digital.
  71. When the clock is iconized, the face is always analog.
  72. :p.
  73. :hp2.24-Hour Clock:ehp2.
  74. The digital clock can display time either as a 24-hour military-style
  75. time, from 00&colon.00 to 23&colon.59, or as a 12-hour civilian time,
  76. with 'am' and 'pm' appended to the numeric time.
  77. :p.
  78. :hp2.Hide Controls:ehp2.
  79. When the clock is not iconized, it can be show with or without the usual
  80. title bar, system menu and minimize/maximize buttons.  If you chose to
  81. hide these controls, the sizing border remains.  The window may be
  82. positioned by dragging its center area.  It may be resized by dragging
  83. any of the four borders or the corners.
  84. :p.
  85. :hp2.Chime:ehp2.
  86. This button activates an hourly chime function.  When this button has
  87. been check-marked, the clock will beep twice at the top of every hour.
  88. :p.
  89. :hp2.Float to Top:ehp2.
  90. This button activates an window's float-to-top function.
  91. When this button has been check-marked, the clock will float to the top
  92. of the window stack, making itself visible all the time.
  93. :p.
  94. :hp2.Alert Type:ehp2.
  95. The clock's border changes color according to system load or task count.
  96. You may select which item it will monitor.
  97. :p.
  98. :hp2.Alert Levels:ehp2.
  99. You may adjust the task counts or CPU load levels at which the clock's
  100. border will change from green to yellow and from yellow to red.  Use
  101. the up or down arrows to adjust the values, or use the mouse to press
  102. the up or down buttons to the right of the values.
  103.  
  104. :h1 res=15.About (Menu Option)
  105. :i1.About (Menu Option)
  106. This menu option, when selected, will cause the program's About dialog
  107. to be displayed.
  108.  
  109. :h1 res=150.About (Dialog)
  110. :i1.About (Dialog)
  111. This dialog box displays the program name, icon and copyright information.
  112. To exit the dialog, press the ENTER key, the SPACE bar or the ESCAPE key.
  113.  
  114. :h1 res=99.Keys Help
  115. :i1.Keys Help
  116. The following function keys have been defined for this program:
  117. :sl compact.
  118. :li.F1 - Help
  119. :li.F2 - Save Defaults
  120. :li.F3 - Exit
  121. :li.Alt+H - Hide Controls
  122. :li.Alt+C - Configure
  123. :esl.
  124.  
  125. :h1 res=9900.Set Profile Path
  126. :i1.Set Profile Path
  127. This dialog is displayed when the program cannot find its profile (INI) file,
  128. and asks you where the file is or where it is to be created.
  129. :p.
  130. Only a valid existing directory name will be accepted.
  131. Once you have entered the name, press the ENTER key or click on the OK
  132. button for the program to continue.
  133. :p.
  134. If you wish to abort the program's initialization sequence, press
  135. the ESC key or click on the escape button.
  136.  
  137. :euserdoc.
  138.