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

  1. /******************************************************************************
  2. * .FILE:         tbar1.rc                                                     *
  3. *                                                                             *
  4. * .DESCRIPTION:  Tool Bar Example 1:  Resource File                           *
  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 "tbar1.h"
  24.  
  25. ICON ID_MAIN_WINDOW tbar1.ico
  26.  
  27. MENU ID_MAIN_WINDOW
  28. BEGIN
  29.   SUBMENU "~Edit",          ID_EDIT
  30.   BEGIN
  31.     MENUITEM "~Copy",       IC_ID_COPY
  32.     MENUITEM "Cu~t",        IC_ID_CUT
  33.     MENUITEM "~Paste",      IC_ID_PASTE
  34.   END
  35.   SUBMENU "~Toolbar",       ID_TOOLBAR
  36.   BEGIN
  37.     MENUITEM "Show ~bitmaps only",     ID_SHOWBITMAPS
  38.     MENUITEM "Show ~text only",        ID_SHOWTEXT
  39.     MENUITEM "Show text ~and bitmaps", ID_SHOWTEXTANDBITMAPS
  40.     MENUITEM SEPARATOR
  41.     MENUITEM "Top",                    ID_TOOLBAR_TOP
  42.     MENUITEM "Bottom",                 ID_TOOLBAR_BOTTOM
  43.     MENUITEM "Left",                   ID_TOOLBAR_LEFT
  44.     MENUITEM "Right",                  ID_TOOLBAR_RIGHT
  45.     MENUITEM "Floating",               ID_TOOLBAR_FLOATING
  46.   END
  47. END
  48.  
  49. STRINGTABLE PRELOAD
  50. BEGIN
  51.   STR_TOOLBAR                     , "Toolbar"
  52.   ID_MAIN_WINDOW                  , "Tool Bar Sample 1"
  53.   IC_ID_CUT                       , "Cut"
  54.   IC_ID_COPY                      , "Copy"
  55.   IC_ID_PASTE                     , "Paste"
  56.   IC_ID_BOLD                      , "Bold"
  57.   IC_ID_ITALIC                    , "Italic"
  58.   IC_ID_UNDERSCORE                , "Underscore"
  59.   ID_FONTCOMBO                    , "Select font"
  60.   OFFSET_INFOTEXT+IC_ID_CUT       , "Removes the marked text and places it on the clipboard."
  61.   OFFSET_INFOTEXT+IC_ID_COPY      , "Copies the marked text to the clipboard."
  62.   OFFSET_INFOTEXT+IC_ID_PASTE     , "Pastes the text from the clipboard at the cursor."
  63.   OFFSET_INFOTEXT+IC_ID_BOLD      , "Changes the text to Bold."
  64.   OFFSET_INFOTEXT+IC_ID_ITALIC    , "Changes the text to Italic."
  65.   OFFSET_INFOTEXT+IC_ID_UNDERSCORE, "Changes the text to Underscore."
  66.   OFFSET_INFOTEXT+ID_FONTCOMBO    , "Combo-box to select a new font."
  67. END
  68.  
  69.