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

  1. /******************************************************************************
  2. * .FILE: acnr.rc                                                              *
  3. *                                                                             *
  4. * .DESCRIPTION: Container sample - Resource Defintions                        *
  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. ******************************************************************************/
  20. #include "acnr.h"
  21.  
  22. ICON WND_MAIN   brazil.ico
  23. ICON IBMLOGO    mesa.ico
  24. ICON CLOGO      cpp2.ico
  25. ICON WLOGO      wklogo.ICO
  26. ICON OSLOGO     os2logo.ICO
  27.  
  28. STRINGTABLE
  29.   BEGIN
  30.     WND_MAIN,   "Container Sample"
  31.     WND_DEPT,   "CnrEx - Department View"
  32.     STR_CNRTITLE, "Company XYZ"
  33.     STR_ITEM_21,  "Code Development"
  34.     STR_ITEM_22,  "TUID"
  35.     STR_ITEM_23,   "Building 71"
  36.     STR_ITEM_11, "OS/2 Development"
  37.     STR_ITEM_12, "TWPD"
  38.     STR_ITEM_13, "Building 71"
  39.     STR_ITEM_31,    "Information Development"
  40.     STR_ITEM_32,    "TP1D"
  41.     STR_ITEM_33,    "Building 71"
  42.     STR_ITEM_41,    "Quality Assurance"
  43.     STR_ITEM_42,    "TECD"
  44.     STR_ITEM_43,    "Building 71"
  45.     STR_ITEM_51, "AIX Development"
  46.     STR_ITEM_52, "TAIX"
  47.     STR_ITEM_53, "Building 71"
  48.     STR_ITEM_61, "Windows Development"
  49.     STR_ITEM_62, "TWIN"
  50.     STR_ITEM_63, "Building 71"
  51.  
  52.     STR_DEPT,"Department Name"
  53.     STR_ICON,"Icon"
  54.     STR_ADDR,"Address"
  55.     STR_CODE,"Code"
  56.   END
  57.  
  58. MENU ID_POPMENU
  59.   BEGIN
  60.     MENUITEM "Edit Record",   MI_EDRECORD
  61.     MENUITEM "Edit Name",     MI_EDNAME
  62.     MENUITEM "Edit Code",     MI_EDCODE
  63.     MENUITEM "Edit Address",  MI_EDADDRESS
  64.   END
  65.  
  66. MENU WND_MAIN
  67.   BEGIN
  68.     SUBMENU "Views",                       ID_VIEWS
  69.       BEGIN
  70.         MENUITEM        "showTextView",             ID_VTEXT
  71.         MENUITEM        "showFlowedTextView",       ID_VFTEXT
  72.         MENUITEM        "showNameView",             ID_VNAME
  73.         MENUITEM        "showFlowedNameView",       ID_VFNAME
  74.         MENUITEM        "showDetailsView",          ID_VDETAILS
  75.         MENUITEM        "showTreeIconView",         ID_VTICON
  76.         MENUITEM        "showTreeTextView",         ID_VTTEXT
  77.         MENUITEM        "showTreeNameView",         ID_VTNAME
  78.         MENUITEM        "showIconView",             ID_VICON
  79.         MENUITEM        "arrangeIconView",          ID_VARRANGE
  80.       END
  81.     SUBMENU "Edit",                        MI_EDIT
  82.       BEGIN
  83.         MENUITEM        "select All objects"  ,     ID_MARKALL
  84.         MENUITEM        "deselect All objects",     ID_UNMARKALL
  85.       END
  86.     SUBMENU "Filters",                     ID_FILTERS
  87.       BEGIN
  88.         MENUITEM        "Show Only level Selected", ID_FILTER1
  89.         MENUITEM        "Show All",                 ID_FILTER2
  90.       END
  91.     SUBMENU "Sort",                        ID_SORTS
  92.       BEGIN
  93.         MENUITEM        "by Name"                 ,  ID_SORT1
  94.         MENUITEM        "by Code"                 ,  ID_SORT2
  95.       END
  96.   END
  97.