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

  1. /******************************************************************************
  2. * .FILE:         ahellow3.rc                                                  *
  3. *                                                                             *
  4. * .DESCRIPTION:  Hello World Sample Program Version 3:  Resource Definitions  *
  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. #include "ahellow3.h"
  23.  
  24. //**************************************************************************
  25. // icon and bitmap resources                                               *
  26. //   Relate symbolic name to file containing main window icon.             *
  27. //**************************************************************************
  28. ICON WND_MAIN ahellow3.ico
  29.  
  30. //**************************************************************************
  31. // string resources                                                        *
  32. //   Relate symbolic names to literal text strings.                        *
  33. //**************************************************************************
  34. STRINGTABLE
  35.   BEGIN
  36.     STR_HELLO,  "Hello, World!!!"
  37.     WND_MAIN,   "Hello World Sample - Version 3"
  38.     STR_INFO,   "Use Alt-F4 to Close Window"
  39.     MI_ALIGNMENT,"Alignment Menu"
  40.     MI_CENTER,  "Set Center Alignment"
  41.     MI_LEFT,    "Set Left Alignment"
  42.     MI_RIGHT,   "Set Right Alignment"
  43.     STR_CENTER, "Center Alignment"
  44.     STR_LEFT,   "Left Alignment"
  45.     STR_RIGHT,  "Right Alignment"
  46.   END
  47.  
  48. //**************************************************************************
  49. // Menu bar for main window - used by IMenuBar Class                       *
  50. //   Define menu bar layout and relate symbolic names to menu item strings.*
  51. //**************************************************************************
  52. MENU WND_MAIN
  53.   BEGIN
  54.         SUBMENU "~Alignment", MI_ALIGNMENT
  55.           BEGIN
  56.             MENUITEM "~Left",       MI_LEFT
  57.             MENUITEM "~Center",     MI_CENTER
  58.             MENUITEM "~Right",      MI_RIGHT
  59.           END
  60.   END
  61.  
  62.