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

  1. /******************************************************************************
  2. * .FILE:         amle.rc                                                      *
  3. *                                                                             *
  4. * .DESCRIPTION:  Multiline Edit Sample Program:     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.  
  23. #include "amle.h"
  24.  
  25. ICON WND_MAIN "amle.ico"
  26.  
  27. /******************************************************************************/
  28. /* string table                                                               */
  29. /******************************************************************************/
  30. STRINGTABLE
  31.   BEGIN
  32.     WND_MAIN             ,   "Multi-Line Entry Field Sample"
  33.     MI_FILE              ,   "file menu choice"
  34.     MI_OPEN              ,   "open a file on main thread"
  35.     MI_OPEN_THREAD2      ,   "open a file on second thread"
  36.     MI_SAVE              ,   "save file"
  37.     MI_SAVEAS            ,   "save file as"
  38.     MI_EDIT              ,   "edit menu choice"
  39.     MI_COPY              ,   "copy marked text to clipboard"
  40.     MI_CUT               ,   "cut marked text to clipboard"
  41.     MI_PASTE             ,   "paste text from clipboard"
  42.     MI_OPTIONS           ,   "options menu choice (font and word wrap)"
  43.     MI_FONT              ,   "select font"
  44.     MI_WORDWRAP          ,   "toggle word wrap"
  45.     STR_VIEWNAME         ,   "Text view"
  46.     STR_FONTDLGT         ,   "Open Font Dialog"
  47.     STR_OPENFAILED       ,   "Unable to open file"
  48.     STR_OPENFAILEDTEXT   ,   "The application was unable to load the file "
  49.     STR_QUOTE            ,   "'"
  50.   END
  51.  
  52. /******************************************************************************/
  53. /* menu bar                                                                   */
  54. /******************************************************************************/
  55. MENU WND_MAIN
  56.   BEGIN
  57.     SUBMENU       "~File"                , MI_FILE
  58.       BEGIN
  59.         MENUITEM  "~Open..."             , MI_OPEN
  60.         MENUITEM  "Open on ~thread..."   , MI_OPEN_THREAD2
  61.         MENUITEM  SEPARATOR
  62.         MENUITEM  "~Save..."             , MI_SAVE
  63.         MENUITEM  "Save ~as..."          , MI_SAVEAS
  64.       END
  65.     SUBMENU       "~Edit"                , MI_EDIT
  66.       BEGIN
  67.         MENUITEM  "Cu~t\tShift+Delete"   , MI_CUT
  68.         MENUITEM  "~Copy\tCtrl+Insert"   , MI_COPY
  69.         MENUITEM  "~Paste\tShift+Insert" , MI_PASTE
  70.       END
  71.     SUBMENU       "~Options"             , MI_OPTIONS
  72.       BEGIN
  73.         MENUITEM  "~Font..."             , MI_FONT
  74.         MENUITEM  SEPARATOR
  75.         MENUITEM  "Word wrap"            , MI_WORDWRAP
  76.       END
  77.   END
  78.