home *** CD-ROM | disk | FTP | other *** search
/ NEXT Generation 27 / NEXT27.iso / pc / demos / emperor / dx3.exe / SDK / SAMPLES / FLIP2D / FLIPCUBE.RC < prev    next >
Text File  |  1996-08-28  |  2KB  |  55 lines

  1. /**************************************************************************
  2.  
  3.     FLIPCUBE.RC - A spinning cube demo for DirectDraw
  4.  
  5.  **************************************************************************/
  6. /**************************************************************************
  7.  
  8.     (C) Copyright 1995-1996 Microsoft Corp.  All rights reserved.
  9.  
  10.     You have a royalty-free right to use, modify, reproduce and
  11.     distribute the Sample Files (and/or any modified version) in
  12.     any way you find useful, provided that you agree that
  13.     Microsoft has no warranty obligations or liability for any
  14.     Sample Application Files which are modified.
  15.  
  16.  **************************************************************************/
  17.  
  18. #include <windows.h>
  19. #include "flipcube.h"
  20.  
  21. AppIcon  ICON   flipcube.ico
  22.  
  23. AppAccel ACCELERATORS DISCARDABLE
  24. BEGIN
  25.     VK_ESCAPE,      MENU_EXIT,      VIRTKEY,NOINVERT
  26.     VK_F12,         MENU_EXIT,      VIRTKEY,NOINVERT
  27.     VK_F1,          MENU_ABOUT,     VIRTKEY,NOINVERT
  28.     VK_F3,          MENU_SPIN,      VIRTKEY,NOINVERT
  29.     VK_F7,          MENU_SMALLER,   VIRTKEY,NOINVERT
  30.     VK_F8,          MENU_LARGER,    VIRTKEY,NOINVERT
  31.     VK_F9,          MENU_GDI,       VIRTKEY,NOINVERT
  32. END
  33.  
  34. AppAbout DIALOG DISCARDABLE  22, 17, 144, 75
  35. STYLE DS_MODALFRAME | WS_POPUP
  36. BEGIN
  37.     CTEXT           "DirectDraw Spinning Cube Demo",-1,25,6,93,8
  38.     CTEXT           "Copyright (c) 1995-1996 Microsoft Corp.",-1,5,47,132,9
  39.     ICON            "AppIcon",-1,62,20,18,20
  40.     DEFPUSHBUTTON   "OK",IDOK,55,59,32,14,WS_GROUP
  41. END
  42.  
  43. AppMenu menu
  44. begin
  45.     POPUP "&Cube"
  46.         begin
  47.             MENUITEM "&Larger\tF7",         MENU_LARGER
  48.             MENUITEM "&Smaller\tF8",        MENU_SMALLER
  49.             MENUITEM "Draw with &GDI\tF9",  MENU_GDI
  50.             MENUITEM SEPARATOR
  51.             MENUITEM "&About...\tF1",       MENU_ABOUT
  52.             MENUITEM "E&xit\tF12",          MENU_EXIT
  53.         end
  54. end
  55.