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

  1. /******************************************************************************/
  2. /* Multi-Line Entry Field Sample Program                                      */
  3. /*                                                                            */
  4. /* COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1993. */
  5. /*                                                                            */
  6. /* DISCLAIMER OF WARRANTIES:                                                  */
  7. /*   The following [enclosed] code is sample code created by IBM              */
  8. /*   Corporation.  This sample code is not part of any standard IBM product   */
  9. /*   and is provided to you solely for the purpose of assisting you in the    */
  10. /*   development of your applications.  The code is provided "AS IS",         */
  11. /*   without warranty of any kind.  IBM shall not be liable for any damages   */
  12. /*   arising out of your use of the sample code, even if they have been       */
  13. /*   advised of the possibility of such damages.                              */
  14. /******************************************************************************/
  15. /* NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          */
  16. /******************************************************************************/
  17.  
  18. #include "amle.h"
  19.  
  20. ICON WND_MAIN "amle.ico"
  21.  
  22. /******************************************************************************/
  23. /* string table                                                               */
  24. /******************************************************************************/
  25. STRINGTABLE
  26.   BEGIN
  27.     WND_MAIN             ,   "Multi-Line Entry Field Sample"
  28.     MI_FILE              ,   "file menu choice"
  29.     MI_OPEN              ,   "open a file on main thread"
  30.     MI_OPEN_THREAD2      ,   "open a file on second thread"
  31.     MI_SAVE              ,   "save file"
  32.     MI_SAVEAS            ,   "save file as"
  33.     MI_EDIT              ,   "edit menu choice"
  34.     MI_COPY              ,   "copy marked text to clipboard"
  35.     MI_CUT               ,   "cut marked text to clipboard"
  36.     MI_PASTE             ,   "paste text from clipboard"
  37.     MI_OPTIONS           ,   "options menu choice (font and word wrap)"
  38.     MI_FONT              ,   "select font"
  39.     MI_WORDWRAP          ,   "toggle word wrap"
  40.     STR_VIEWNAME         ,   "Text view"
  41.     STR_FONTDLGT         ,   "Open Font Dialog"
  42.     STR_OPENFAILED       ,   "Unable to open file"
  43.     STR_OPENFAILEDTEXT   ,   "The application was unable to load the file "
  44.   END
  45.  
  46. /******************************************************************************/
  47. /* menu bar                                                                   */
  48. /******************************************************************************/
  49. MENU WND_MAIN
  50.   BEGIN
  51.     SUBMENU       "~File"                , MI_FILE
  52.       BEGIN
  53.         MENUITEM  "~Open..."             , MI_OPEN
  54.         MENUITEM  "~Open 2..."           , MI_OPEN_THREAD2
  55.         MENUITEM  SEPARATOR
  56.         MENUITEM  "~Save..."             , MI_SAVE
  57.         MENUITEM  "Save~as..."           , MI_SAVEAS
  58.       END
  59.     SUBMENU       "~Edit"                , MI_EDIT
  60.       BEGIN
  61.         MENUITEM  "Cu~t\tShift+Delete"   , MI_CUT
  62.         MENUITEM  "~Copy\tCtrl+Insert"   , MI_COPY
  63.         MENUITEM  "~Paste\tShift+Insert" , MI_PASTE
  64.       END
  65.     SUBMENU       "~Options"             , MI_OPTIONS
  66.       BEGIN
  67.         MENUITEM  "~Font..."             , MI_FONT
  68.         MENUITEM  SEPARATOR
  69.         MENUITEM  "Word wrap"            , MI_WORDWRAP
  70.       END
  71.   END
  72.