home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / CNR / ACNR.RC < prev    next >
Text File  |  1995-03-27  |  3KB  |  66 lines

  1. /******************************************************************************/
  2. /* Container Sample Program - Resource File (ACNR.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. /* NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          */
  16. /******************************************************************************/
  17.  
  18. #include "acnr.h"                               //Symbolic Definitions
  19.  
  20. ICON WND_MAIN   brazil.ico
  21. ICON IBMLOGO    mesa.ico
  22. ICON CLOGO      cpp2.ico
  23. ICON WLOGO      wklogo.ICO
  24. ICON OSLOGO     os2logo.ICO
  25.  
  26. STRINGTABLE
  27.   BEGIN
  28.     WND_MAIN,   "Container Sample"        //Title Bar String (main id)
  29.     WND_DEPT,   "CnrEx - Department View" //Title Bar String (dept id)
  30.   END
  31.  
  32. MENU ID_POPMENU
  33.   BEGIN
  34.     MENUITEM "Edit Record",   MI_EDRECORD
  35.     MENUITEM "Edit Name",     MI_EDNAME
  36.     MENUITEM "Edit Code",     MI_EDCODE
  37.     MENUITEM "Edit Address",  MI_EDADDRESS
  38.   END
  39.  
  40. MENU WND_MAIN                           //Main Window Menu (WND_MAIN)
  41.   BEGIN
  42.     SUBMENU "Views",                       ID_VIEWS
  43.       BEGIN
  44.         MENUITEM        "showTextView",             ID_VTEXT
  45.         MENUITEM        "showFlowedTextView",       ID_VFTEXT
  46.         MENUITEM        "showNameView",             ID_VNAME
  47.         MENUITEM        "showFlowedNameView",       ID_VFNAME
  48.         MENUITEM        "showDetailsView",          ID_VDETAILS
  49.         MENUITEM        "showTreeIconView",         ID_VTICON
  50.         MENUITEM        "showTreeTextView",         ID_VTTEXT
  51.         MENUITEM        "showTreeNameView",         ID_VTNAME
  52.         MENUITEM        "showIconView",             ID_VICON
  53.         MENUITEM        "arrangeIconView",          ID_VARRANGE
  54.       END
  55.     SUBMENU "Edit",                        MI_EDIT
  56.       BEGIN
  57.         MENUITEM        "select All objects"  ,     ID_MARKALL
  58.         MENUITEM        "deselect All objects",     ID_UNMARKALL
  59.       END
  60.     SUBMENU "Filters",                     ID_FILTERS
  61.       BEGIN
  62.         MENUITEM        "Show Only level Selected", ID_FILTER1
  63.         MENUITEM        "Show All",                 ID_FILTER2
  64.       END
  65.   END
  66.