home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / TBAR2 / TBAR2.RC < prev    next >
Text File  |  1995-05-01  |  2KB  |  65 lines

  1. #include <os2.h>
  2. #include <icconst.h>
  3. #include "tbar2.h"
  4.  
  5. ICON ID_MAIN_WINDOW tbar2.ico
  6.  
  7. MENU ID_MAIN_WINDOW
  8. BEGIN
  9.   SUBMENU "~File",           ID_FILE
  10.   BEGIN
  11.     MENUITEM "~Open...",     IC_ID_OPEN
  12.     MENUITEM "~Save as...",  IC_ID_SAVE
  13.   END
  14.   SUBMENU "~Edit",           ID_EDIT
  15.   BEGIN
  16.     MENUITEM "~Copy",        IC_ID_COPY
  17.     MENUITEM "Cu~t",         IC_ID_CUT
  18.     MENUITEM "~Paste",       IC_ID_PASTE
  19.   END
  20.   SUBMENU "~Options",        ID_OPTIONS
  21.   BEGIN
  22.     MENUITEM "~Toolbars...", ID_TOOLBARS
  23.     MENUITEM "~Font...",     ID_FONT
  24.   END
  25. END
  26.  
  27. STRINGTABLE PRELOAD
  28. BEGIN
  29.   ID_FILE                         , "File"
  30.   ID_EDIT                         , "Edit"
  31.   ID_FONT                         , "Font"
  32.   ID_TOOLBARS                     , "Toolbars"
  33.   ID_LOCATION                     , "Location"
  34.   ID_TOP                          , "Top"
  35.   ID_LEFT                         , "Left"
  36.   ID_BOTTOM                       , "Bottom"
  37.   ID_RIGHT                        , "Right"
  38.   ID_FLOATING                     , "Floating"
  39.   ID_HIDDEN                       , "Hidden"
  40.   IC_ID_OPEN                      , "Open"
  41.   IC_ID_SAVE                      , "Save"
  42.   IC_ID_CUT                       , "Cut"
  43.   IC_ID_COPY                      , "Copy"
  44.   IC_ID_PASTE                     , "Paste"
  45.   IC_ID_BOLD                      , "Bold"
  46.   IC_ID_ITALIC                    , "Italic"
  47.   IC_ID_UNDERSCORE                , "Underscore"
  48.   ID_FONTCOMBO                    , "Select font"
  49.   ID_GROUP                        , "Group with other toolbars"
  50.   ID_VIEW                         , "View"
  51.   ID_BITMAP                       , "Bitmap"
  52.   ID_TEXT                         , "Text"
  53.   ID_BITMAP_AND_TEXT              , "Bitmap and text"
  54.   OFFSET_INFOTEXT+IC_ID_OPEN      , "Open on a file."
  55.   OFFSET_INFOTEXT+IC_ID_SAVE      , "Saves the document."
  56.   OFFSET_INFOTEXT+IC_ID_CUT       , "Removes the marked text and places it on the clipboard."
  57.   OFFSET_INFOTEXT+IC_ID_COPY      , "Copies the marked text to the clipboard."
  58.   OFFSET_INFOTEXT+IC_ID_PASTE     , "Pastes the text from the clipboard at the cursor."
  59.   OFFSET_INFOTEXT+IC_ID_BOLD      , "Changes the text to Bold."
  60.   OFFSET_INFOTEXT+IC_ID_ITALIC    , "Changes the text to Italic."
  61.   OFFSET_INFOTEXT+IC_ID_UNDERSCORE, "Changes the text to Underscore."
  62.   OFFSET_INFOTEXT+ID_FONTCOMBO    , "Combo-box to select a new font."
  63. END
  64.  
  65.