home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / SAMPLES / OPENDOC / PARTS / TTAPE1 / TTAPE1.RC < prev   
Text File  |  1995-12-15  |  2KB  |  65 lines

  1. /***************************************************************************
  2. *
  3. *  File Name   : TTAPE1.RC
  4. *
  5. *  Description : TickerTape1Part class resource file.
  6. *
  7. *  Notes       : N/A
  8. *
  9. -       (C) COPYRIGHT International Business Machines Corp. 1995
  10. *       All Rights Reserved
  11. *       Licensed Materials - Property of IBM
  12. *
  13. *       US Government Users Restricted Rights - Use, duplication or
  14. *       disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  15. *
  16. *       DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  17. *       sample code created by IBM Corporation. This sample code is not
  18. *       part of any standard or IBM product and is provided to you solely
  19. *       for the purpose of assisting you in the development of your
  20. *       applications.  The code is provided "AS IS", without
  21. *       warranty of any kind.  IBM shall not be liable for any damages
  22. *       arising out of your use of the sample code, even if they have been
  23. *       advised of the possibility of such damages.
  24. *
  25. ***************************************************************************/
  26. #ifndef _TTAPE1_HPP_
  27. #include <os2.h>
  28. #include "ttape1.hpp"
  29. #endif
  30.  
  31. /*
  32.  *  The Popup menu resource is a color table for selecting background color.
  33.  */
  34. MENU ID_POPUPMENU PRELOAD
  35. {
  36.    MENUITEM "Gray",     IDMA_COLOR_GRAY    ,    MIS_TEXT
  37.    MENUITEM "Red",      IDMA_COLOR_RED     ,    MIS_TEXT
  38.    MENUITEM "Green",    IDMA_COLOR_GREEN   ,    MIS_TEXT
  39.    MENUITEM "Yellow",   IDMA_COLOR_YELLOW  ,    MIS_TEXT
  40.    MENUITEM "Blue",     IDMA_COLOR_BLUE    ,    MIS_TEXT
  41.    MENUITEM "Magenta",  IDMA_COLOR_MAGENTA ,    MIS_TEXT
  42.    MENUITEM "Cyan",     IDMA_COLOR_CYAN    ,    MIS_TEXT
  43.    MENUITEM "White",    IDMA_COLOR_WHITE   ,    MIS_TEXT
  44. }
  45.  
  46. /*
  47.  *  The message table resource.  All message and error strings
  48.  *  are maintained within this table.
  49.  */
  50. MESSAGETABLE PRELOAD
  51. {
  52.     IDM_WELCOME       "Welcome to the OpenDoc Ticker Tape Part Sample..."
  53.     IDM_OPENTEXTFILE  "Open Text File"
  54.     IDM_ERROROPENING  "File does not exist!"
  55.     IDM_ERRORFILEINFO "Error getting size of file!"
  56.     IDM_ERRORSIZEFILE "File size exceeds maximum 32,000 bytes!"
  57.     IDM_ERRORREADING  "Error reading the text from file!"
  58. }
  59.  
  60. /*
  61.  *  The bitmap resource.
  62.  */
  63. BITMAP  IDB_BMP1      ttape1.bmp
  64.  
  65.