home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / TOOLKIT / OS2 / TIMESERV / HELP.RC < prev    next >
Text File  |  1994-11-17  |  5KB  |  131 lines

  1. /*==============================================================*\
  2.  *  Help.rc - Sample apps help rc file
  3.  *      Copyright 1992 IBM Corp.
  4.  *--------------------------------------------------------------
  5.  *
  6.  *  This resource file contains the Help table and subtable
  7.  *  resources used by the help manager.
  8.  *
  9.  *  You should add new tables for each dialog box and new
  10.  *  for each menu and dialog item you add to your application.
  11.  *
  12. \*==============================================================*/
  13.  
  14. #define  INCL_HELP
  15. #include <os2.h>
  16. #include "clock.h"
  17. #include "help.h"
  18. #include "res.h"
  19.  
  20.  
  21. /*--------------------------------------------------------------*\
  22.  *  Help table definition
  23. \*--------------------------------------------------------------*/
  24. HELPTABLE   CLOCK_HELP_TABLE
  25. BEGIN
  26.     HELPITEM    IDR_MAIN,       SUBTABLE_MAIN,         PANEL_MAIN
  27.     HELPITEM    IDD_ABOUTBOX,   SUBTABLE_ABOUTBOXDLG,  PANEL_ABOUTBOXDLG
  28.     HELPITEM    IDD_ALARM,      SUBTABLE_ALARM,        PANEL_SETTINGSALARM
  29.     HELPITEM    IDD_TICKS,      SUBTABLE_TICKS,        PANEL_SETTINGSTICKS
  30.     HELPITEM    IDD_TIME,       SUBTABLE_TIME,         PANEL_SETTINGSDATETIME
  31.     HELPITEM    TYPEDATE,       SUBTABLE_TYPEDATE,     PANEL_SETTINGSCOLORS
  32. END
  33.  
  34.  
  35. /*--------------------------------------------------------------*\
  36.  *  Main window subtable, includes menu item help
  37. \*--------------------------------------------------------------*/
  38. HELPSUBTABLE SUBTABLE_MAIN
  39. SUBITEMSIZE     2
  40. BEGIN
  41.     HELPSUBITEM     IDM_SETTINGS,               PANEL_SETTINGS
  42.     HELPSUBITEM     IDM_COLORS,                 PANEL_SETTINGSCOLORS
  43.     HELPSUBITEM     IDM_TICKS,                  PANEL_SETTINGSTICKS
  44.     HELPSUBITEM     IDM_DATETIME,               PANEL_SETTINGSDATETIME
  45.     HELPSUBITEM     IDM_ALARM,                  PANEL_SETTINGSALARM
  46.     HELPSUBITEM     IDM_SECONDHAND,             PANEL_SETTINGSSECONDHAND
  47.     HELPSUBITEM     IDM_TOGGLECONTROLS,         PANEL_SETTINGSTOGGLECONTROLS
  48.  
  49.     HELPSUBITEM     IDM_VIEW,                   PANEL_VIEW
  50.     HELPSUBITEM     IDM_TIME,                   PANEL_VIEWTIME
  51.     HELPSUBITEM     IDM_DATE,                   PANEL_VIEWDATE
  52.     HELPSUBITEM     IDM_ANALOG,                 PANEL_VIEWANALOG
  53.     HELPSUBITEM     IDM_DIGITAL,                PANEL_VIEWDIGITAL
  54.  
  55.     HELPSUBITEM     IDM_HELP,                   PANEL_HELP
  56.     HELPSUBITEM     IDM_HELPHELPFORHELP,        PANEL_HELPHELPFORHELP
  57.     HELPSUBITEM     IDM_HELPKEYS,               PANEL_HELPKEYS
  58.     HELPSUBITEM     IDM_HELPINDEX,              PANEL_HELPINDEX
  59.     HELPSUBITEM     IDM_HELPABOUT,              PANEL_HELPABOUT
  60. END
  61.  
  62. /*--------------------------------------------------------------*\
  63.  *  about... dialog help subtable
  64. \*--------------------------------------------------------------*/
  65. HELPSUBTABLE SUBTABLE_ABOUTBOXDLG
  66. SUBITEMSIZE     2
  67. BEGIN
  68.     HELPSUBITEM     IDC_OK,             PANEL_ABOUTBOX_OK
  69. END
  70.  
  71. HELPSUBTABLE SUBTABLE_ALARM
  72. SUBITEMSIZE     2
  73. BEGIN
  74.     HELPSUBITEM     IDC_HOURMINUTES,    PANEL_ALARM_TIME
  75.  
  76.     HELPSUBITEM     RB_AM,              PANEL_ALARM_AMPM
  77.     HELPSUBITEM     RB_PM,              PANEL_ALARM_AMPM
  78.  
  79.     HELPSUBITEM     RB_ALARMON,         PANEL_ALARM_TOGGLE
  80.     HELPSUBITEM     RB_ALARMOFF,        PANEL_ALARM_TOGGLE
  81.  
  82.     HELPSUBITEM     IDC_BEEP,           PANEL_ALARM_AUDIBLE
  83.  
  84.     HELPSUBITEM     IDC_MSG,            PANEL_ALARM_MESSAGE
  85. END
  86.  
  87. HELPSUBTABLE SUBTABLE_TICKS
  88. SUBITEMSIZE     2
  89. BEGIN
  90.     HELPSUBITEM     CLKCLR_BACKGROUND,  PANEL_TICKS_MAJOR
  91.     HELPSUBITEM     CLKCLR_FACE,        PANEL_TICKS_MAJOR
  92.     HELPSUBITEM     CLKCLR_HOURHAND,    PANEL_TICKS_MAJOR
  93.  
  94.     HELPSUBITEM     513,                PANEL_TICKS_MINOR
  95.     HELPSUBITEM     514,                PANEL_TICKS_MINOR
  96.     HELPSUBITEM     516,                PANEL_TICKS_MINOR
  97. END
  98.  
  99. HELPSUBTABLE SUBTABLE_TIME
  100. SUBITEMSIZE     2
  101. BEGIN
  102.     HELPSUBITEM     TIME,               PANEL_SET_TIME
  103.     HELPSUBITEM     DATE,               PANEL_SET_DATE
  104. END
  105.  
  106. HELPSUBTABLE SUBTABLE_TYPEDATE
  107. SUBITEMSIZE     2
  108. BEGIN
  109.     HELPSUBITEM     CLKCLR_BACKGROUND,  PANEL_COLOR_PARTS
  110.     HELPSUBITEM     CLKCLR_FACE,        PANEL_COLOR_PARTS
  111.     HELPSUBITEM     CLKCLR_HOURHAND,    PANEL_COLOR_PARTS
  112.     HELPSUBITEM     CLKCLR_MINUTEHAND,  PANEL_COLOR_PARTS
  113.  
  114.     HELPSUBITEM     TYPETIME,           PANEL_COLOR_BUTTONS
  115.     HELPSUBITEM     IDD_ALARM,          PANEL_COLOR_BUTTONS
  116.     HELPSUBITEM     IDD_TICKS,          PANEL_COLOR_BUTTONS
  117.     HELPSUBITEM     IDD_ABOUT,          PANEL_COLOR_BUTTONS
  118.     HELPSUBITEM     DOWNDATE,           PANEL_COLOR_BUTTONS
  119.     HELPSUBITEM     TYPEDATE,           PANEL_COLOR_BUTTONS
  120.     HELPSUBITEM     IDM_ADD,            PANEL_COLOR_BUTTONS
  121.     HELPSUBITEM     UPTIME,             PANEL_COLOR_BUTTONS
  122.     HELPSUBITEM     IDM_ABOUT,          PANEL_COLOR_BUTTONS
  123.     HELPSUBITEM     IDM_SELECT,         PANEL_COLOR_BUTTONS
  124.     HELPSUBITEM     IDM_SET,            PANEL_COLOR_BUTTONS
  125.     HELPSUBITEM     IDM_CLEAR,          PANEL_COLOR_BUTTONS
  126.     HELPSUBITEM     IDM_EXIT,           PANEL_COLOR_BUTTONS
  127.     HELPSUBITEM     IDM_ALARM,          PANEL_COLOR_BUTTONS
  128.     HELPSUBITEM     IDM_TICKS,          PANEL_COLOR_BUTTONS
  129.     HELPSUBITEM     DOWNTIME,           PANEL_COLOR_BUTTONS
  130. END
  131.