home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / video / captest / captest.rc < prev    next >
Encoding:
Text File  |  1996-07-16  |  2.5 KB  |  91 lines

  1. /****************************************************************************
  2.  *
  3.  *   captest.rc
  4.  *
  5.  *   Microsoft Video for Windows Capture Class Test Program
  6.  *
  7.  ***************************************************************************/
  8. /**************************************************************************
  9.  *
  10.  *  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  11.  *  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  12.  *  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  13.  *  PURPOSE.
  14.  *
  15.  *  Copyright (C) 1993 - 1996    Microsoft Corporation.    All Rights Reserved.
  16.  *
  17.  **************************************************************************/
  18.  
  19.  
  20. #include <windows.h>
  21. #ifndef _WIN32
  22. #include <ver.h>
  23. #else
  24. #include <winver.h>
  25. #endif
  26. #include "CapTest.h"
  27. #include "captest.rcv"
  28.  
  29. // Dialog definitions...
  30. #include "captest.dlg"
  31.  
  32. // Icon specified...
  33. CapTestIcon ICON "captest.ico"
  34.  
  35. // Now comes the menu...
  36. CapTestMenu MENU
  37.   BEGIN
  38.     POPUP  "&File"
  39.       BEGIN
  40.     MENUITEM "Set Capture &File...", IDM_F_SETCAPTUREFILE
  41.     MENUITEM "&Allocate File Space...", IDM_F_ALLOCATESPACE
  42.     MENUITEM "&Save Video As...", IDM_F_SAVEVIDEOAS
  43.     MENUITEM SEPARATOR
  44.     MENUITEM "E&xit", IDM_F_EXIT
  45.       END
  46.     POPUP  "&Edit"
  47.       BEGIN
  48.     MENUITEM "&Copy\t^C", IDM_E_COPY
  49.     MENUITEM "&Paste Palette", IDM_E_PASTEPALETTE
  50.       END
  51.     POPUP  "&Options"
  52.       BEGIN
  53.     MENUITEM "&Preview", IDM_O_PREVIEW, CHECKED
  54.     MENUITEM "&Overlay", IDM_O_OVERLAY
  55.     MENUITEM SEPARATOR
  56.     MENUITEM "&Audio Format...", IDM_O_AUDIOFORMAT
  57.     MENUITEM SEPARATOR
  58.     MENUITEM "Video &Format...", IDM_O_VIDEOFORMAT
  59.     MENUITEM "Video &Source...", IDM_O_VIDEOSOURCE
  60.     MENUITEM "Video &Display...", IDM_O_VIDEODISPLAY
  61.     MENUITEM SEPARATOR
  62.     MENUITEM "&Compression...", IDM_O_CHOOSECOMPRESSOR
  63.     MENUITEM SEPARATOR
  64.     MENUITEM "&Make Palette...", IDM_O_PALETTE
  65.     MENUITEM SEPARATOR
  66.       END
  67.     POPUP  "&Capture"
  68.       BEGIN
  69.     MENUITEM "Capture &Video", IDM_C_CAPTUREVIDEO
  70.     MENUITEM "Capture &Frame", IDM_C_CAPTUREFRAME
  71.     MENUITEM "Capture &Settings...", IDM_C_CAPTURESETTINGS
  72.       END
  73.     POPUP  "&Help"
  74.       BEGIN
  75.     MENUITEM "&About...", IDM_H_ABOUT
  76.       END
  77.   END
  78.  
  79. // Here are the Accelerators...
  80. CapTestApp ACCELERATORS
  81.   BEGIN
  82.     "^C", IDM_E_COPY
  83.   END
  84.  
  85. // And string table at last...
  86. STRINGTABLE
  87. BEGIN
  88.   IDS_ERR_CREATE_WINDOW,    "Window creation failed!"
  89.   IDS_ERR_REGISTER_CLASS,   "Error registering window class"
  90. END
  91.