home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
graphics
/
audio
/
mmcaps
/
mmcaps.rc
< prev
next >
Wrap
Text File
|
1997-10-05
|
4KB
|
139 lines
//==========================================================================;
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
// TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR
// A PARTICULAR PURPOSE.
//
// Copyright (C) 1993 - 1997 Microsoft Corporation. All Rights Reserved.
//
//--------------------------------------------------------------------------;
// mmcaps.rc
//
// Description:
//
// History:
// 11/ 8/92
//
//==========================================================================;
#include <windows.h>
#include "mmcaps.h"
#include "mmcaps.rcv"
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
//
// Misc resources
//
//
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
ICON_APP ICON mmcaps.ico
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
//
// Application menu
//
//
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
MENU_APP MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Font...\tCtrl+F", IDM_FILE_FONT
MENUITEM SEPARATOR
MENUITEM "A&bout...", IDM_FILE_ABOUT
MENUITEM "E&xit\tAlt+F4", IDM_FILE_EXIT
END
POPUP "&Drivers"
BEGIN
MENUITEM "&Low Level Media", IDM_DRIVERS_LOWLEVEL
MENUITEM "&Media Control Interface (MCI)", IDM_DRIVERS_MCI, GRAYED
MENUITEM "&Audio Compression (ACM)", IDM_DRIVERS_ACM, GRAYED
MENUITEM "&Video Compression/Capture", IDM_DRIVERS_VIDEO, GRAYED
MENUITEM "&Installable Drivers", IDM_DRIVERS_DRIVERS
END
MENUITEM "&Update!", IDM_UPDATE
END
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
//
// Accelerator table
//
//
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
ACCEL_APP ACCELERATORS
BEGIN
"^F", IDM_FILE_FONT
END
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
//
// String resources
//
//
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
STRINGTABLE MOVEABLE DISCARDABLE
BEGIN
IDS_APP_NAME, "MMCaps"
END
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
//
// Application dialogs
//
//
//
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
DLG_DEVCAPS DIALOG 20, 20, 260, 150
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Capabilities"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 218, 3, 40, 14
EDITTEXT IDD_DEVCAPS_EDIT_DETAILS, 2, 20, 256, 128,
ES_MULTILINE | ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL
// ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
//
// DLG_ABOUT
//
//
//
DLG_ABOUT DIALOG LOADONCALL MOVEABLE DISCARDABLE 20, 20, 200, 130
STYLE DS_MODALFRAME | WS_SYSMENU | WS_VISIBLE | WS_POPUP | DS_LOCALEDIT
CAPTION "About MMCaps"
FONT 8, "MS Sans Serif"
BEGIN
CONTROL APP_VERSION_DESCRIPTION_RC, -1, "static", SS_LEFT | WS_CHILD, 30, 5, 165, 8
CONTROL APP_VERSION_STRING_RC, -1, "static", SS_LEFT | WS_CHILD, 30, 14, 165, 8
CONTROL "for:", -1, "static", SS_LEFT | WS_CHILD, 30, 23, 15, 8
CONTROL APP_VERSION_PRODUCTNAME_RC, -1, "static", SS_LEFT | WS_CHILD, 45, 23, 150, 8
CONTROL APP_VERSION_COPYRIGHT_RC, -1, "static", SS_LEFT | WS_CHILD, 30, 32, 165, 8
CONTROL "", IDD_ABOUT_VERSION_MMSYSTEM, "static", SS_LEFT | WS_CHILD, 30, 55, 165, 8
CONTROL "", -1, "static", WS_BORDER | WS_CHILD, 0, 71, 200, 1
CONTROL "Environment:", -1, "static", SS_LEFT | WS_CHILD, 5, 77, 45, 8
CONTROL "", IDD_ABOUT_VERSION_OS, "static", SS_LEFT | WS_CHILD, 50, 77, 145, 20
CONTROL "Platform:", -1, "static", SS_LEFT | WS_CHILD, 5, 97, 45, 8
CONTROL "", IDD_ABOUT_VERSION_PLATFORM, "static", SS_LEFT | WS_CHILD, 50, 97, 145, 8
CONTROL "OK", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 82, 111, 35, 14
CONTROL ICON_APP, -1, "static", SS_ICON | WS_CHILD, 5, 5, 0, 0
END