home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ICLUI.ZIP / HELLO3 / AHELLOW3.RC < prev    next >
Text File  |  1993-03-06  |  4KB  |  55 lines

  1. /******************************************************************************/
  2. /* HELLO WORLD SAMPLE PROGRAM - Version 3: Resource Definitions (AHELLOW3.RC) */
  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.  
  16. #include "ahellow3.h"                           //Symbolic Definitions        v2
  17.  
  18. //**************************************************************************  v2
  19. // icon and bitmap resources                                               *   .
  20. //  Symbolic Name (ID) <-> icon filename                                   *   .
  21. //**************************************************************************   .
  22. ICON WND_MAIN ahellow3.ico                      //Title Bar Icon (use same id)v2
  23.  
  24. //**************************************************************************  v2
  25. // string resources - used by IStaticText & ITitle Classes                 *   .
  26. //  Symbolic Name (ID) <-> Text String                                     *   .
  27. //**************************************************************************  v2
  28. STRINGTABLE
  29.   BEGIN
  30.     STR_HELLO,  "Hello, World!!!"               //Hello World String          v3
  31.     WND_MAIN,   "C++ Hello World - Version 3"   //Title Bar String (main id)  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       .
  35.     MI_LEFT,    "Set Left Alignment"            //InfoArea - Left Menu         .
  36.     MI_RIGHT,   "Set Right Alignment"           //InfoArea - Right Menu       v3
  37.     STR_CENTER, "Center Alignment"              //Status Line Text - Center   v3
  38.     STR_LEFT,   "Left Alignment"                //Status Line Text - Left      .
  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                       *   .
  44. //  Text String <-> Menu Item ID (Command ID)                              *   .
  45. //**************************************************************************  v3
  46. MENU WND_MAIN                                   //Main Window Menu (WND_MAIN) v3
  47.   BEGIN
  48.     SUBMENU "~Alignment", MI_ALIGNMENT          //Alignment Submenu           v3
  49.       BEGIN
  50.         MENUITEM "~Left",   MI_LEFT             //Left Menu Item              v3
  51.         MENUITEM "~Center", MI_CENTER           //Center Menu Item            v3
  52.         MENUITEM "~Right",  MI_RIGHT            //Right Menu Item             v3
  53.       END
  54.   END
  55.