GENERIC.RC
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:11k
源码类别:
Windows编程
开发平台:
Visual C++
- #include "windows.h"
- #include "generic.h"
- #include "winver.h"
- /////////////////////////////////////////////////////////////////////////////
- //
- // Icon
- //
- GENERIC ICON DISCARDABLE "GENERIC.ICO"
- SMALL ICON DISCARDABLE "SMALL.ICO"
- /////////////////////////////////////////////////////////////////////////////
- //
- // Menu
- //
- GENERIC MENU DISCARDABLE
- BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "&New", IDM_NEW, GRAYED
- MENUITEM "&Open...", IDM_OPEN, GRAYED
- MENUITEM "&Save", IDM_SAVE, GRAYED
- MENUITEM "Save &As...", IDM_SAVEAS, GRAYED
- MENUITEM SEPARATOR
- MENUITEM "&Print...", IDM_PRINT, GRAYED
- MENUITEM "P&rint Setup...", IDM_PRINTSETUP, GRAYED
- MENUITEM SEPARATOR
- MENUITEM "E&xit", IDM_EXIT
- END
- POPUP "&Edit"
- BEGIN
- MENUITEM "&UndotCtrl+Z", IDM_UNDO, GRAYED
- MENUITEM SEPARATOR
- MENUITEM "Cu&ttCtrl+X", IDM_CUT, GRAYED
- MENUITEM "&CopytCtrl+C", IDM_COPY, GRAYED
- MENUITEM "&PastetCtrl+V", IDM_PASTE, GRAYED
- MENUITEM "Paste &Link", IDM_LINK, GRAYED
- MENUITEM SEPARATOR
- MENUITEM "Lin&ks...", IDM_LINKS, GRAYED
- END
- POPUP "&Help"
- BEGIN
- MENUITEM "&Contents", IDM_HELPCONTENTS, HELP
- MENUITEM "&Search for Help On...", IDM_HELPSEARCH, HELP
- MENUITEM "&How to Use Help", IDM_HELPHELP, HELP
- MENUITEM SEPARATOR
- MENUITEM "&About Generic...", IDM_ABOUT
- END
- END
- WIN95 MENU DISCARDABLE
- BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "&New", IDM_NEW, GRAYED
- MENUITEM "&Open...", IDM_OPEN, GRAYED
- MENUITEM "&Save", IDM_SAVE, GRAYED
- MENUITEM "Save &As...", IDM_SAVEAS, GRAYED
- MENUITEM SEPARATOR
- MENUITEM "&Print...", IDM_PRINT, GRAYED
- MENUITEM "P&rint Setup...", IDM_PRINTSETUP, GRAYED
- MENUITEM SEPARATOR
- MENUITEM "E&xit", IDM_EXIT
- END
- POPUP "&Edit"
- BEGIN
- MENUITEM "&UndotCtrl+Z", IDM_UNDO, GRAYED
- MENUITEM SEPARATOR
- MENUITEM "Cu&ttCtrl+X", IDM_CUT, GRAYED
- MENUITEM "&CopytCtrl+C", IDM_COPY, GRAYED
- MENUITEM "&PastetCtrl+V", IDM_PASTE, GRAYED
- MENUITEM "Paste &Link", IDM_LINK, GRAYED
- MENUITEM SEPARATOR
- MENUITEM "Lin&ks...", IDM_LINKS, GRAYED
- END
- POPUP "&Help"
- BEGIN
- MENUITEM "&Help Topics...", IDM_HELPTOPICS
- MENUITEM SEPARATOR
- MENUITEM "&About Generic...", IDM_ABOUT
- END
- END
- /////////////////////////////////////////////////////////////////////////////
- //
- // Accelerator
- //
- GENERIC ACCELERATORS MOVEABLE PURE
- BEGIN
- VK_F1, IDM_HELPCONTENTS, VIRTKEY
- "?", IDM_ABOUT, ASCII, ALT
- "/", IDM_ABOUT, ASCII, ALT
- END
- /////////////////////////////////////////////////////////////////////////////
- //
- // Dialog
- //
- ABOUTBOX DIALOG DISCARDABLE 22, 17, 167, 74
- STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
- CAPTION "About"
- FONT 8, "System"
- BEGIN
- DEFPUSHBUTTON "OK",IDOK,132,2,32,14,WS_GROUP
- ICON "Generic",IDC_STATIC,3,2,18,20
- LTEXT "CompanyName",IDC_COMPANY,30,2,100,8
- LTEXT "FileDescription",IDC_FILEDESC,30,10,71,8
- RTEXT "ProductVersion",IDC_PRODVER,106,10,17,8
- LTEXT "LegalCopyright",IDC_COPYRIGHT,30,18,137,8
- LTEXT "OSVERSION",IDC_OSVERSION,46,34,118,8
- LTEXT "LegalTrademarks",IDC_TRADEMARK,3,49,162,18
- LTEXT "Running on:",IDC_LABEL,4,34,40,8
- CONTROL "",IDC_STATIC,"Static",SS_BLACKRECT,2,31,164,1
- CONTROL "",IDC_STATIC,"Static",SS_BLACKRECT,2,44,164,1
- END
- /////////////////////////////////////////////////////////////////////////////
- //
- // Version
- //
- 1 VERSIONINFO
- FILEVERSION 3,5,0,0
- PRODUCTVERSION 3,5,0,0
- FILEFLAGSMASK 0x3fL
- #ifdef _DEBUG
- FILEFLAGS 0xbL
- #else
- FILEFLAGS 0xaL
- #endif
- FILEOS 0x10001L
- FILETYPE 0x1L
- FILESUBTYPE 0x0L
- BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904E4"
- BEGIN
- VALUE "Comments", "Written by: Robert B. Hess "
- VALUE "CompanyName", "Microsoft Corporation "
- VALUE "FileDescription", "Generic Example Application "
- VALUE "FileVersion", "0.0 "
- VALUE "InternalName", "Generic "
- VALUE "LegalCopyright", "Copyright (C) Microsoft Corp. 1990 - 1995 "
- VALUE "LegalTrademarks", "Microsoft(R) is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation "
- VALUE "OriginalFilename", "