home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / HELLO3 / AHELLOW3.RC < prev    next >
Text File  |  1995-04-07  |  4KB  |  56 lines

  1. /******************************************************************************/
  2. /* HELLO WORLD SAMPLE PROGRAM - Version 3: Resource Definitions (ahellow3.rc) */
  3. /*                                                                            */
  4. /* COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1995. */
  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.  
  16. #include "ahellow3.h"                           //Symbolic definitions        v3
  17.  
  18. //**************************************************************************  V2
  19. // icon and bitmap resources                                               *  V2
  20. //   Relate symbolic name to file containing main window icon.             *  V2
  21. //**************************************************************************  V2
  22. ICON WND_MAIN ahellow3.ico                      //Application icon            v3
  23.  
  24. //**************************************************************************  V2
  25. // string resources                                                        *  V2
  26. //   Relate symbolic names to literal text strings.                        *  V2
  27. //**************************************************************************  V2
  28. STRINGTABLE
  29.   BEGIN
  30.     STR_HELLO,  "Hello, World!!!"               //Hello World string          V2
  31.     WND_MAIN,   "Hello World Sample - Version 3"   //Main window title string    v3
  32.     STR_INFO,   "Use Alt-F4 to Close Window"    //Information area string     V2
  33.     MI_ALIGNMENT,"Alignment Menu"               //InfoArea - Alignment menu   V3
  34.     MI_CENTER,  "Set Center Alignment"          //InfoArea - Center menu item V3
  35.     MI_LEFT,    "Set Left Alignment"            //InfoArea - Left menu item   V3
  36.     MI_RIGHT,   "Set Right Alignment"           //InfoArea - Right menu item  V3
  37.     STR_CENTER, "Center Alignment"              //Status line text - Center   V3
  38.     STR_LEFT,   "Left Alignment"                //Status line text - Left     V3
  39.     STR_RIGHT,  "Right Alignment"               //Status line text - Right    V3
  40.   END
  41.  
  42. //**************************************************************************  V3
  43. // Menu bar for main window - used by IMenuBar Class                       *  V3
  44. //   Define menu bar layout and relate symbolic names to menu item strings.*  V3
  45. //**************************************************************************  V3
  46. MENU WND_MAIN                                   //Main window menu bar        V3
  47.   BEGIN
  48.         SUBMENU "~Alignment", MI_ALIGNMENT      //Alignment submenu           V3
  49.           BEGIN
  50.             MENUITEM "~Left",       MI_LEFT     //Left menu item - F7 Key     V3
  51.             MENUITEM "~Center",     MI_CENTER   //Center menu item - F8 Key   V3
  52.             MENUITEM "~Right",      MI_RIGHT    //Right menu item - F9 Key    V3
  53.           END
  54.   END
  55.  
  56.