REUSE.RC
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:

Windows编程

开发平台:

Visual C++

  1. /*
  2.  * REUSE.RC
  3.  *
  4.  * Resource definitions for COM Reusability demonstration Chapter 2
  5.  *
  6.  * Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
  7.  *
  8.  * Kraig Brockschmidt, Microsoft
  9.  * Internet  :  kraigb@microsoft.com
  10.  * Compuserve:  >INTERNET:kraigb@microsoft.com
  11.  */
  12. #include <windows.h>
  13. #include "reuse.h"
  14. Icon    ICON    reuse.ico
  15. IDR_MENU MENU MOVEABLE DISCARDABLE
  16.     BEGIN
  17.     POPUP "&Objects"
  18.      BEGIN
  19.       POPUP "&Create Koala"
  20.        BEGIN
  21.         MENUITEM "&Containment",              IDM_CREATECONTAINMENT
  22.         MENUITEM "&Aggregation",              IDM_CREATEAGGREGATION
  23.        END
  24.       POPUP "I&Animal"
  25.        BEGIN
  26.         MENUITEM "&Eat",                      IDM_ANIMALEAT
  27.         MENUITEM "&Sleep",                    IDM_ANIMALSLEEP
  28.         MENUITEM "&Procreate",                IDM_ANIMALPROCREATE
  29.        END
  30.       POPUP "I&Koala"
  31.        BEGIN
  32.         MENUITEM "&ClimbEucalyptusTrees",     IDM_KOALACLIMBEUCALYPTUSTREES
  33.         MENUITEM "&PouchOpensDown",           IDM_KOALAPOUCHOPENSDOWN
  34.         MENUITEM "&SleepForHoursAfterEating", IDM_KOALASLEEPFORHOURSAFTEREATING
  35.        END
  36.       MENUITEM "&Release",                    IDM_RELEASE
  37.       MENUITEM SEPARATOR
  38.       MENUITEM "&Exit",                       IDM_EXIT
  39.      END
  40.     END