home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / inole2 / chap04 / connect / connect.rc < prev    next >
Text File  |  1995-05-03  |  1KB  |  51 lines

  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.  
  14.  
  15. #include <windows.h>
  16. #include "connect.h"
  17.  
  18.  
  19. Icon    ICON    connect.ico
  20.  
  21.  
  22. IDR_MENU MENU MOVEABLE DISCARDABLE
  23.     BEGIN
  24.     POPUP "&Object"
  25.      BEGIN
  26.       MENUITEM "&Create Object",            IDM_OBJECTCREATE
  27.       MENUITEM "&Release",                  IDM_OBJECTRELEASE
  28.       MENUITEM SEPARATOR
  29.       POPUP "Sink #&1"
  30.        BEGIN
  31.         MENUITEM "&Connect",                IDM_OBJECTSINK1CONNECT
  32.         MENUITEM "&Disconnect",             IDM_OBJECTSINK1DISCONNECT
  33.        END
  34.       POPUP "Sink #&2"
  35.        BEGIN
  36.         MENUITEM "&Connect",                IDM_OBJECTSINK2CONNECT
  37.         MENUITEM "&Disconnect",             IDM_OBJECTSINK2DISCONNECT
  38.        END
  39.  
  40.       MENUITEM SEPARATOR
  41.       MENUITEM "&Exit",                     IDM_OBJECTEXIT
  42.      END
  43.  
  44.     POPUP "&Trigger"
  45.      BEGIN
  46.       MENUITEM "&Quack",                    IDM_TRIGGERQUACK
  47.       MENUITEM "&Flap",                     IDM_TRIGGERFLAP
  48.       MENUITEM "&Paddle",                   IDM_TRIGGERPADDLE
  49.      END
  50.     END
  51.