RMFULL.RC
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:3k
源码类别:
Windows编程
开发平台:
Visual C++
- /*
- * Copyright (C) 1995, 1996 Microsoft Corporation. All Rights Reserved.
- *
- * File: rmfull.rc
- *
- */
- #include "rmfullrc.h"
- #include "windows.h"
- AppIcon ICON DISCARDABLE "d3d.ico"
- AppMenu MENU DISCARDABLE
- BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "&About..tF1", MENU_ABOUT
- MENUITEM SEPARATOR
- MENUITEM "&Single SteptSpc", MENU_STEP
- MENUITEM "&GotEnter", MENU_GO
- MENUITEM "&Toggle StatstTab", MENU_STATS
- MENUITEM SEPARATOR
- MENUITEM SEPARATOR
- MENUITEM SEPARATOR
- MENUITEM "E&xittESC", MENU_EXIT
- END
- POPUP "&Render"
- BEGIN
- MENUITEM "&FlattF2", MENU_FLAT
- MENUITEM "&GouraudtF3", MENU_GOURAUD
- MENUITEM "P&hongtF4", MENU_PHONG
- MENUITEM SEPARATOR
- MENUITEM "L&ightingtF5", MENU_LIGHTING
- MENUITEM SEPARATOR
- MENUITEM "&PointtCtrl+P", MENU_POINT
- MENUITEM "&WireframetCtrl+W", MENU_WIREFRAME
- MENUITEM "&SolidtCtrl+S", MENU_SOLID
- MENUITEM SEPARATOR
- MENUITEM "&DitheringtCtrl+D", MENU_DITHERING
- MENUITEM "&Anti-aliasingtCtrl+A", MENU_ANTIALIAS
- MENUITEM SEPARATOR
- MENUITEM "P&oint FilteringtCtrl+O", MENU_POINT_FILTER
- MENUITEM "Bi-&Linear FilteringtCtrl+L",MENU_LINEAR_FILTER
- END
- POPUP "&Modes"
- BEGIN
- MENUITEM "&FullscreentAlt+Enter", MENU_FULLSCREEN
- MENUITEM "&Previous ModetAlt+PgUp", MENU_PREVIOUS_MODE
- MENUITEM "&Next ModetAlt+PgDown", MENU_NEXT_MODE
- MENUITEM SEPARATOR
- END
- END
- AppAccel ACCELERATORS DISCARDABLE
- BEGIN
- VK_F1, MENU_ABOUT, VIRTKEY, NOINVERT
- VK_F2, MENU_FLAT, VIRTKEY, NOINVERT
- VK_F3, MENU_GOURAUD, VIRTKEY, NOINVERT
- VK_F4, MENU_PHONG, VIRTKEY, NOINVERT
- VK_F5, MENU_LIGHTING, VIRTKEY, NOINVERT
- "P", MENU_POINT, VIRTKEY, CONTROL, NOINVERT
- "W", MENU_WIREFRAME, VIRTKEY, CONTROL, NOINVERT
- "S", MENU_SOLID, VIRTKEY, CONTROL, NOINVERT
- "D", MENU_DITHERING, VIRTKEY, CONTROL, NOINVERT
- "A", MENU_ANTIALIAS, VIRTKEY, CONTROL, NOINVERT
- "O", MENU_POINT_FILTER, VIRTKEY, CONTROL, NOINVERT
- "L", MENU_LINEAR_FILTER, VIRTKEY, CONTROL, NOINVERT
- VK_ESCAPE, MENU_EXIT, VIRTKEY, NOINVERT
- VK_SPACE, MENU_STEP, VIRTKEY, NOINVERT
- VK_RETURN, MENU_GO, VIRTKEY, NOINVERT
- VK_RETURN, MENU_FULLSCREEN, VIRTKEY, ALT, NOINVERT
- VK_TAB, MENU_STATS, VIRTKEY, NOINVERT
- VK_NEXT, MENU_NEXT_MODE, VIRTKEY, ALT, NOINVERT
- VK_PRIOR, MENU_PREVIOUS_MODE, VIRTKEY, ALT, NOINVERT
- END
- AppAbout DIALOG DISCARDABLE 0, 0, 188, 96
- STYLE DS_MODALFRAME | WS_POPUP
- BEGIN
- DEFPUSHBUTTON "OK",IDOK,76,75,35,14
- CTEXT "Direct3DRM Example",IDC_STATIC,61,5,65,15
- CTEXT "Copyright (c)1995, 1996 Microsoft Corp.",IDC_STATIC,21,55,
- 145,12
- ICON "AppIcon",IDC_STATIC,86,25,16,16
- END