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

Windows编程

开发平台:

Visual C++

  1. /*
  2.  * CONNECT.RC
  3.  *
  4.  * Resource definitions for connectable object demonstration
  5.  * Chapter 4
  6.  *
  7.  * Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
  8.  *
  9.  * Kraig Brockschmidt, Microsoft
  10.  * Internet  :  kraigb@microsoft.com
  11.  * Compuserve:  >INTERNET:kraigb@microsoft.com
  12.  */
  13. #include <windows.h>
  14. #include "connect.h"
  15. Icon    ICON    connect.ico
  16. IDR_MENU MENU MOVEABLE DISCARDABLE
  17.     BEGIN
  18.     POPUP "&Object"
  19.      BEGIN
  20.       MENUITEM "&Create Object",            IDM_OBJECTCREATE
  21.       MENUITEM "&Release",                  IDM_OBJECTRELEASE
  22.       MENUITEM SEPARATOR
  23.       POPUP "Sink #&1"
  24.        BEGIN
  25.         MENUITEM "&Connect",                IDM_OBJECTSINK1CONNECT
  26.         MENUITEM "&Disconnect",             IDM_OBJECTSINK1DISCONNECT
  27.        END
  28.       POPUP "Sink #&2"
  29.        BEGIN
  30.         MENUITEM "&Connect",                IDM_OBJECTSINK2CONNECT
  31.         MENUITEM "&Disconnect",             IDM_OBJECTSINK2DISCONNECT
  32.        END
  33.       MENUITEM SEPARATOR
  34.       MENUITEM "&Exit",                     IDM_OBJECTEXIT
  35.      END
  36.     POPUP "&Trigger"
  37.      BEGIN
  38.       MENUITEM "&Quack",                    IDM_TRIGGERQUACK
  39.       MENUITEM "&Flap",                     IDM_TRIGGERFLAP
  40.       MENUITEM "&Paddle",                   IDM_TRIGGERPADDLE
  41.      END
  42.     END