home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / mm / clock / clock.rc < prev    next >
Text File  |  1999-05-11  |  3KB  |  109 lines

  1. /*************************************************************************
  2.  * File Name   : CLOCK.RC
  3.  *
  4.  * Description : This file contains the resource definitions used by the clock
  5.  *               sample program.
  6.  *
  7.  * Concepts    : See this sample program's C source file.
  8.  *
  9.  * MMPM/2 API's: None.
  10.  *
  11.  * Required
  12.  *    Files    : See this sample program's C source file.
  13.  *
  14.  *
  15.  * Copyright (C) IBM 1991, 1992, 1993
  16.  *************************************************************************/
  17.  
  18.  
  19. #define  INCL_WIN
  20. #define  INCL_PM
  21. #define  INCL_DOS
  22. #include <os2.h>
  23.  
  24. #include "clock.h"
  25.  
  26. RCINCLUDE clock.dlg
  27.  
  28. ICON ID_ICON clock.ico
  29.  
  30. BITMAP ID_CENTER_BELL LOADONCALL FIXED BELLC.BMP
  31. BITMAP ID_LEFT_BELL LOADONCALL FIXED BELLLT.BMP
  32. BITMAP ID_RIGHT_BELL LOADONCALL FIXED BELLRT.BMP
  33. BITMAP ID_FAR_RIGHT_BELL LOADONCALL FIXED BELLFRRT.BMP
  34. BITMAP ID_FAR_LEFT_BELL LOADONCALL FIXED BELLFRLT.BMP
  35.  
  36. /*
  37.  * Help Table Definition.
  38.  *
  39.  * The help table definition for the dialog window.
  40.  */
  41.  
  42. HELPTABLE ID_CLOCK_HELPTABLE
  43. {
  44.     HELPITEM ID_CLOCK_DIALOG_BOX,   0,                   0
  45.     HELPITEM ID_MESSAGE_BOX,        SUBTABLE_MESSAGEBOX, ID_MESSAGE_BOX
  46. }
  47.  
  48. HELPSUBTABLE SUBTABLE_MESSAGEBOX
  49. {
  50. }
  51.  
  52. /*
  53.  * String Table Definition.
  54.  */
  55. STRINGTABLE
  56. {
  57.    IDS_MAIN_WINDOW_TITLE,
  58.    "Clock Utility"
  59.  
  60.    IDS_HELP_CREATION_ERROR,
  61.    " Help Initialization failed.  Help will not be available."
  62.  
  63.    IDS_HELP_LIBRARY_FILE
  64.    "CLOCK.HLP"
  65.  
  66.    IDS_HELP_WINDOW_TITLE
  67.    "Clock Help Window"
  68.  
  69.    IDS_SWING_THREAD_NOT_STARTED,
  70.    "There are not enough system resources available for the Clock Utility"
  71.    "to display captioning information.  If you wish to have closed "
  72.    "captioning information displayed then end one or more of your running "
  73.    "programs, and restart the Clock Utility."
  74.  
  75.    IDS_NORMAL_ERROR_MESSAGE_BOX_TEXT
  76.    "Clock Utility Error"
  77.  
  78.    IDS_CHIME_FILE_A
  79.    "CLOCK1.WAV"
  80.  
  81.    IDS_CHIME_FILE_B
  82.    "CLOCK2.WAV"
  83.  
  84.    IDS_CHIME_FILE_C
  85.    "CLOCK3.WAV"
  86.  
  87.    IDS_CANNOT_GET_MEMORY,
  88.    "The Clock Utility cannot play chimes because there are not enough system "
  89.    "resources available.  End one or more of your running programs and try "
  90.    "again."
  91.  
  92.    IDS_CANNOT_PLAY_CHIME,
  93.    "The Clock Utility cannot play the chimes.  Please ensure that another "
  94.    "program does not have exclusive use of the audio device, and try again."
  95.  
  96.  
  97.    IDS_CHIME_FILE_ERROR,
  98.    "An error occurred while processing the audio files required for chiming. "
  99.    "Please put CLOCK1.WAV, CLOCK2.WAV, and CLOCK3.WAV in the same directory "
  100.    "that the Clock Utility's executable file resides in, and restart the "
  101.    "Clock Utility."
  102.  
  103.    IDS_FAILED_MMIO_CLOSE,
  104.    "Closing a playlist audio waveform file failed."
  105.  
  106.  
  107. }
  108.  
  109.