home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / hello4 / ahellow4.rc < prev    next >
Encoding:
Text File  |  1996-02-22  |  2.3 KB  |  60 lines

  1. //********************************************************************
  2. // This file was produced using Visual Age C++ IRCC
  3. //
  4. //
  5. //
  6. //  This file was read from ahellow4.rcx  (OS/2 .rc file)  and converted to 
  7. //    Windows .rc file.
  8. //********************************************************************
  9. #ifdef  IC_PM
  10. #include <os2.h>
  11. #endif  
  12. #include "ahellow4.h"
  13. WND_MAIN          ICON       ahellow4.ico
  14.  
  15. STRINGTABLE
  16.   BEGIN
  17.     STR_HELLO                     ,    "Hello, World!!!"
  18.     WND_MAIN                      ,    "Hello World Sample - Version 4"
  19.     WND_TEXTDIALOG                ,    "Hello World Edit Dialog"
  20.     STR_INFO                      ,    "Use Alt-F4 to Close Window"
  21.     MI_EDIT                       ,    "Edit Menu"
  22.     MI_ALIGNMENT                  ,    "Alignment Menu"
  23.     MI_CENTER                     ,    "Set Center Alignment"
  24.     MI_LEFT                       ,    "Set Left Alignment"
  25.     MI_RIGHT                      ,    "Set Right Alignment"
  26.     MI_TEXT                       ,    "Display Edit Dialog"
  27.     STR_INFODLG                   ,    "Modal Edit Text Dialog Active"
  28.     STR_CENTER                    ,    "Center Alignment"
  29.     STR_LEFT                      ,    "Left Alignment"
  30.     STR_RIGHT                     ,    "Right Alignment"
  31.     STR_LEFTB                     ,    "Left"
  32.     STR_CENTERB                   ,    "Center"
  33.     STR_RIGHTB                    ,    "Right"
  34.     DID_OK                        ,    "OK"
  35.     DID_CANCEL                    ,    "Cancel"
  36.     DID_STATIC                    ,    "Edit Text:"
  37.     DID_ENTRY                     ,    ""
  38.   END
  39.  
  40. WND_MAIN  MENUEX  
  41.   BEGIN
  42.     POPUP     "&Edit"                    ,  MI_EDIT
  43.       BEGIN
  44.         POPUP     "&Alignment"               ,  MI_ALIGNMENT
  45.           BEGIN
  46.             MENUITEM  "&Left\tF7"                ,  MI_LEFT
  47.             MENUITEM  "&Center\tF8"              ,  MI_CENTER
  48.             MENUITEM  "&Right\tF9"               ,  MI_RIGHT
  49.           END
  50.         MENUITEM  "&Text..."                 ,  MI_TEXT
  51.       END
  52.   END
  53.  
  54. WND_MAIN  ACCELERATORS
  55.   BEGIN
  56.     VK_F7       ,    MI_LEFT                       ,  VIRTKEY
  57.     VK_F8       ,    MI_CENTER                     ,  VIRTKEY
  58.     VK_F9       ,    MI_RIGHT                      ,  VIRTKEY
  59.   END
  60.