|
|
#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 "&Undo\tCtrl+Z", IDM_UNDO, GRAYED MENUITEM SEPARATOR MENUITEM "Cu&t\tCtrl+X", IDM_CUT, GRAYED MENUITEM "&Copy\tCtrl+C", IDM_COPY, GRAYED MENUITEM "&Paste\tCtrl+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 "&Undo\tCtrl+Z", IDM_UNDO, GRAYED MENUITEM SEPARATOR MENUITEM "Cu&t\tCtrl+X", IDM_CUT, GRAYED MENUITEM "&Copy\tCtrl+C", IDM_COPY, GRAYED MENUITEM "&Paste\tCtrl+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\0" VALUE "CompanyName", "Microsoft Corporation\0" VALUE "FileDescription", "Generic Example Application\0" VALUE "FileVersion", "0.0\0" VALUE "InternalName", "Generic\0" VALUE "LegalCopyright", "Copyright (C) Microsoft Corp. 1990 - 1995\0" VALUE "LegalTrademarks", "Microsoft(R) is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation\0" VALUE "OriginalFilename", "\0" VALUE "ProductName", "Generic\0" VALUE "ProductVersion", "3.6\0" END BLOCK "041104E4" BEGIN VALUE "Comments", "Written by: Robert B. Hess\0" VALUE "CompanyName", "Microsoft Corporation\0" VALUE "FileDescription", "Generic Example Application\0" VALUE "FileVersion", "0.0\0" VALUE "InternalName", "Generic\0" VALUE "LegalCopyright", "Copyright (C) Microsoft Corp. 1990 - 1995\0" VALUE "LegalTrademarks", "Microsoft(R) is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation\0" VALUE "OriginalFilename", "\0" VALUE "ProductName", "Generic\0" VALUE "ProductVersion", "3.6\0" END END BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x409, 0x04E4, 0x411, 0x04E4 END END
///////////////////////////////////////////////////////////////////////////// // // String Table //
STRINGTABLE DISCARDABLE BEGIN IDS_APP_TITLE "Generic: Sample Application" IDS_DISPLAYCHANGED "Display Changed" IDS_VER_INFO_LANG "\\StringFileInfo\\040904E4\\" IDS_VERSION_ERROR "Error %lu" IDS_NO_HELP "Unable to activate help" END
////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////// #ifdef JAPAN LANGUAGE LANG_JAPANESE, SUBLANG_NEUTRAL
///////////////////////////////////////////////////////////////////////////// // // Icon //
GENERIC ICON DISCARDABLE "GENERIC.ICO" SMALL ICON DISCARDABLE "SMALL.ICO"
///////////////////////////////////////////////////////////////////////////// // // Menu //
GENERIC MENU DISCARDABLE BEGIN POPUP "�t�@�C��(&F)" BEGIN MENUITEM "�V�K�쐬(&N)", IDM_NEW, GRAYED MENUITEM "�J��(&O)...", IDM_OPEN, GRAYED MENUITEM "�㏑���ۑ�(&S)", IDM_SAVE, GRAYED MENUITEM "���O���t���ĕۑ�(&A)...", IDM_SAVEAS, GRAYED MENUITEM SEPARATOR MENUITEM "����(&P)...", IDM_PRINT, GRAYED MENUITEM "�v�����^�̐ݒ�(&R)...", IDM_PRINTSETUP, GRAYED MENUITEM SEPARATOR MENUITEM "�I��(&X)", IDM_EXIT END POPUP "�ҏW(&E)" BEGIN MENUITEM "���ɖ߂�(&U)\tCtrl+Z", IDM_UNDO, GRAYED MENUITEM SEPARATOR MENUITEM "������(&T)\tCtrl+X", IDM_CUT, GRAYED MENUITEM "�R�s�[(&C)\tCtrl+C", IDM_COPY, GRAYED MENUITEM "�\���t��(&P)\tCtrl+V", IDM_PASTE, GRAYED MENUITEM "�����N�\���t��(&L)" IDM_LINK, GRAYED MENUITEM SEPARATOR MENUITEM "�����N�̐ݒ�(&K)..." IDM_LINKS, GRAYED END POPUP "�w���v(&H)" BEGIN MENUITEM "�ڎ�(&C)", IDM_HELPCONTENTS, HELP MENUITEM "�L�[���[�h�Ō���(&S)...", IDM_HELPSEARCH, HELP MENUITEM "�w���v�̎g����(&H)", IDM_HELPHELP, HELP MENUITEM SEPARATOR MENUITEM "�o�[�W��������(&A)...", 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 "&Undo\tCtrl+Z", IDM_UNDO, GRAYED MENUITEM SEPARATOR MENUITEM "Cu&t\tCtrl+X", IDM_CUT, GRAYED MENUITEM "&Copy\tCtrl+C", IDM_COPY, GRAYED MENUITEM "&Paste\tCtrl+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, 197, 74 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU CAPTION "�o�[�W��������" FONT 8, "System" BEGIN DEFPUSHBUTTON "OK",IDOK,160,2,32,14,WS_GROUP ICON "Generic",IDC_STATIC,3,2,18,20 LTEXT "CompanyName",IDC_COMPANY,30,2,121,8 LTEXT "FileDescription",IDC_FILEDESC,30,10,102,8 RTEXT "ProductVersion",IDC_PRODVER,134,10,17,8 LTEXT "LegalCopyright",IDC_COPYRIGHT,30,18,162,8 LTEXT "OSVERSION",IDC_OSVERSION,46,34,146,8 LTEXT "LegalTrademarks",IDC_TRADEMARK,3,49,189,18 LTEXT "Running on:",IDC_LABEL,4,34,40,8 CONTROL "",IDC_STATIC,"Static",SS_BLACKRECT,2,31,192,1 CONTROL "",IDC_STATIC,"Static",SS_BLACKRECT,2,44,192,1 END
///////////////////////////////////////////////////////////////////////////// // // String Table //
STRINGTABLE DISCARDABLE BEGIN IDS_APP_TITLE "Generic: �T���v�� �A�v���P�[�V����" IDS_DISPLAYCHANGED "�f�B�X�v���C�̐ݒ肪�ύX�����܂���" IDS_VER_INFO_LANG "\\StringFileInfo\\041104E4\\" IDS_VERSION_ERROR "�G���[ %lu" IDS_NO_HELP "�w���v�����s�ł��܂���" END
#endif
|