home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / tbar2 / tbar2.rcx < prev    next >
Encoding:
Text File  |  1996-02-22  |  4.1 KB  |  87 lines

  1. /******************************************************************************
  2. * .FILE:         tbar2.rc                                                     *
  3. *                                                                             *
  4. * .DESCRIPTION:  Tool Bar Sample Program Version 2:    Resources              *
  5. *                                                                             *
  6. * .COPYRIGHT:                                                                 *
  7. *    Licensed Material - Program-Property of IBM                              *
  8. *    (C) Copyright IBM Corp. 1992, 1996 - All Rights Reserved                 *
  9. *                                                                             *
  10. * .DISCLAIMER:                                                                *
  11. *   The following [enclosed] code is sample code created by IBM               *
  12. *   Corporation.  This sample code is not part of any standard IBM product    *
  13. *   and is provided to you solely for the purpose of assisting you in the     *
  14. *   development of your applications.  The code is provided 'AS IS',          *
  15. *   without warranty of any kind.  IBM shall not be liable for any damages    *
  16. *   arising out of your use of the sample code, even if they have been        *
  17. *   advised of the possibility of such damages.                               *
  18. *                                                                             *
  19. * .NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          *
  20. *                                                                             *
  21. ******************************************************************************/
  22. #include <icconst.h>
  23. #include "tbar2.h"
  24.  
  25.  
  26. ICON ID_MAIN_WINDOW tbar2.ico
  27.  
  28. MENU ID_MAIN_WINDOW
  29. BEGIN
  30.   SUBMENU "~File",           ID_FILE
  31.   BEGIN
  32.     MENUITEM "~Open...",     IC_ID_OPEN
  33.     MENUITEM "~Save as...",  IC_ID_SAVE
  34.   END
  35.   SUBMENU "~Edit",           ID_EDIT
  36.   BEGIN
  37.     MENUITEM "~Copy",        IC_ID_COPY
  38.     MENUITEM "Cu~t",         IC_ID_CUT
  39.     MENUITEM "~Paste",       IC_ID_PASTE
  40.   END
  41.   SUBMENU "~Options",        ID_OPTIONS
  42.   BEGIN
  43.     MENUITEM "~Toolbars...", ID_TOOLBARS
  44.     MENUITEM "~Font...",     ID_FONT
  45.   END
  46. END
  47.  
  48. STRINGTABLE PRELOAD
  49. BEGIN
  50.   ID_MAIN_WINDOW                  , "Tool Bar Sample 2"
  51.   ID_FILE                         , "File"
  52.   ID_EDIT                         , "Edit"
  53.   ID_FONT                         , "Font"
  54.   ID_TOOLBARS                     , "Toolbars"
  55.   ID_LOCATION                     , "Location"
  56.   ID_TOP                          , "Top"
  57.   ID_LEFT                         , "Left"
  58.   ID_BOTTOM                       , "Bottom"
  59.   ID_RIGHT                        , "Right"
  60.   ID_FLOATING                     , "Floating"
  61.   ID_HIDDEN                       , "Hidden"
  62.   IC_ID_OPEN                      , "Open"
  63.   IC_ID_SAVE                      , "Save"
  64.   IC_ID_CUT                       , "Cut"
  65.   IC_ID_COPY                      , "Copy"
  66.   IC_ID_PASTE                     , "Paste"
  67.   IC_ID_BOLD                      , "Bold"
  68.   IC_ID_ITALIC                    , "Italic"
  69.   IC_ID_UNDERSCORE                , "Underscore"
  70.   ID_FONTCOMBO                    , "Select font"
  71.   ID_GROUP                        , "Group with other toolbars"
  72.   ID_VIEW                         , "View"
  73.   ID_BITMAP                       , "Bitmap"
  74.   ID_TEXT                         , "Text"
  75.   ID_BITMAP_AND_TEXT              , "Bitmap and text"
  76.   OFFSET_INFOTEXT+IC_ID_OPEN      , "Open on a file."
  77.   OFFSET_INFOTEXT+IC_ID_SAVE      , "Saves the document."
  78.   OFFSET_INFOTEXT+IC_ID_CUT       , "Removes the marked text and places it on the clipboard."
  79.   OFFSET_INFOTEXT+IC_ID_COPY      , "Copies the marked text to the clipboard."
  80.   OFFSET_INFOTEXT+IC_ID_PASTE     , "Pastes the text from the clipboard at the cursor."
  81.   OFFSET_INFOTEXT+IC_ID_BOLD      , "Changes the text to Bold."
  82.   OFFSET_INFOTEXT+IC_ID_ITALIC    , "Changes the text to Italic."
  83.   OFFSET_INFOTEXT+IC_ID_UNDERSCORE, "Changes the text to Underscore."
  84.   OFFSET_INFOTEXT+ID_FONTCOMBO    , "Combo-box to select a new font."
  85. END
  86.  
  87.