home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
winui
/
mdi
/
regmpad
/
multipad.rc
< prev
next >
Wrap
Text File
|
1996-04-09
|
11KB
|
317 lines
/***************************************************************************
* *
* FILE : Multipad.rc *
* *
* DESCRIPTION : Resource script file for Multipad. *
* *
***************************************************************************/
#include "multipad.h"
IDMULTIPAD ICON mp300.ico /* main icon */
IDNOTE ICON note300.ico /* icon for child windows */
/* frame window menu */
IDMULTIPAD MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New", IDM_FILENEW
MENUITEM "&Open...", IDM_FILEOPEN
MENUITEM "&Save", IDM_FILESAVE
MENUITEM "Save &As...", IDM_FILESAVEAS
MENUITEM SEPARATOR
MENUITEM "&Print", IDM_FILEPRINT
MENUITEM "Printer Se&tup...", IDM_FILESETUP
MENUITEM SEPARATOR
MENUITEM "S&hort Menus" IDM_FILEMENU
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_FILEEXIT
MENUITEM SEPARATOR
MENUITEM "&About RegMPad...", IDM_HELPABOUT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Undo\tAlt+BkSp", IDM_EDITUNDO
MENUITEM SEPARATOR
MENUITEM "Cu&t\tShift+Del", IDM_EDITCUT
MENUITEM "&Copy\tCtrl+Ins", IDM_EDITCOPY
MENUITEM "&Paste\tShift+Ins", IDM_EDITPASTE
MENUITEM "&Delete\tDel", IDM_EDITCLEAR
MENUITEM SEPARATOR
MENUITEM "&Select All", IDM_EDITSELECT
MENUITEM "&Word Wrap" IDM_EDITWRAP
MENUITEM SEPARATOR
MENUITEM "&Options..." IDM_OPTIONS
END
POPUP "&Search"
BEGIN
MENUITEM "&Find...", IDM_SEARCHFIND
MENUITEM "&Next\tF3", IDM_SEARCHNEXT
MENUITEM "&Previous\tF4", IDM_SEARCHPREV
END
POPUP "&Window"
BEGIN
MENUITEM "&Tile", IDM_WINDOWTILE
MENUITEM "&Cascade", IDM_WINDOWCASCADE
MENUITEM "Arrange &Icons", IDM_WINDOWICONS
MENUITEM "Close &All", IDM_WINDOWCLOSEALL
END
END
/* short frame window menu */
IDMULTIPAD2 MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New", IDM_FILENEW
MENUITEM "&Open...", IDM_FILEOPEN
MENUITEM "&Save", IDM_FILESAVE
MENUITEM "Save &as...", IDM_FILESAVEAS
MENUITEM SEPARATOR
MENUITEM "&Print...", IDM_FILEPRINT
MENUITEM SEPARATOR
MENUITEM "&Full Menus", IDM_FILEMENU
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_FILEEXIT
MENUITEM SEPARATOR
MENUITEM "&About RegMPad...", IDM_HELPABOUT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Undo\tAlt+BkSp", IDM_EDITUNDO
MENUITEM SEPARATOR
MENUITEM "&Cut\tShift+Del", IDM_EDITCUT
MENUITEM "Co&py\tCtrl+Ins", IDM_EDITCOPY
MENUITEM "&Paste\tShift+Ins", IDM_EDITPASTE
MENUITEM "&Delete\tDel", IDM_EDITCLEAR
END
POPUP "&Window"
BEGIN
MENUITEM "&Arrange", IDM_WINDOWTILE
END
END
/* frame menu accelerators */
IDMULTIPAD ACCELERATORS
BEGIN
VK_INSERT, IDM_EDITCOPY, VIRTKEY, CONTROL
VK_INSERT, IDM_EDITPASTE, VIRTKEY, SHIFT
VK_DELETE, IDM_EDITCUT, VIRTKEY, SHIFT
VK_BACK, IDM_EDITUNDO, VIRTKEY, ALT
VK_F5, IDM_EDITTIME, VIRTKEY
VK_F3, IDM_SEARCHNEXT, VIRTKEY
VK_F4, IDM_SEARCHPREV, VIRTKEY
VK_F1, IDM_HELPHELP, VIRTKEY
VK_F1, IDM_HELPSPOT, VIRTKEY, SHIFT
END
STRINGTABLE
BEGIN
IDS_CANTOPEN "Can't open the file '%s'"
IDS_CANTREAD "Can't read the file '%s'"
IDS_CANTCREATE "Can't create the file '%s'"
IDS_CANTWRITE "Can't write the file '%s'"
IDS_ADDEXT ".TXT"
IDS_ILLFNM "Invalid filename: '%s'"
IDS_CLOSESAVE "%s has been changed. Save file before closing?"
IDS_CANTFIND "Can't find '%s'"
IDS_HELPNOTAVAIL "Can't load Windows Help application"
IDS_CLIENTTITLE "MultiPad MDI & Registry Demonstration App, Version 0.01"
IDS_UNTITLED "Untitled"
IDS_PRINTJOB "RegMPad - "
IDS_PRINTERROR "Cannot print %s!"
IDS_APPNAME "RegMPad"
IDS_CANTINSTALL "Sorry! This application must be installed by an Administrator before it can be used."
IDS_NEED_NAME_ORG "You need to give a Name and an Organization for this installation!"
IDS_SECURITY_FAIL_I "Security Error During Installation!"
IDS_SECURITY_FAIL_U "Security Error During Startup!"
IDS_MEMORY_LIMITED "Memory Limit -- Cannot complete this operation!"
IDS_REG_ACCESS_ERROR "Registry Access Error!"
IDS_MUTEX_LOGIC_ERR "Serialization Failure -- Cannot complete this operation!"
IDS_GLOBAL_SEQ_ERR "Can't Read Global Defaults!"
IDS_REGISTRY_DAMAGE "Registry Entries Damaged! Please Reinstall."
IDS_FILTERSPEC "TEXT FILES(*.TXT)\0*.*\0"
IDS_OFNSTRTITLE "Open TextFiles"
IDS_OPENFAILMSG "FileOpen Failed!"
IDS_SAVEFILTERSPEC "TEXT FILES(*.TXT)\0*.txt\0"
IDS_SAVEFILETITLE "Save TextFiles"
IDS_WRONGOSMSG1 "This sample demonstrates security features available only on Windows NT."
IDS_WRONGOSMSG2 "RegMPad will gracefully exit now"
IDS_FAILWRAP "<SetWrap> Not enough memory. Can't Change Wrap Mode!"
END
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,0,0,0
PRODUCTVERSION 4,0,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 "CompanyName", "Microsoft Corporation\0"
VALUE "FileDescription", "ClipText Example Application\0"
VALUE "FileVersion", "Version 4.0\0"
VALUE "InternalName", "ClipText\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 "ProductName", "ClipText\0"
VALUE "ProductVersion", "Version 4.0\0"
END
BLOCK "041104E4"
BEGIN
VALUE "CompanyName", "Microsoft Corporation\0"
VALUE "FileDescription", "ClipText Example Application\0"
VALUE "FileVersion", "Version 4.0\0"
VALUE "InternalName", "ClipText\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 "ProductName", "ClipText\0"
VALUE "ProductVersion", "Version 4.0\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252, 0x411, 1252
END
END
#ifdef JAPAN
LANGUAGE LANG_JAPANESE, SUBLANG_NEUTRAL
IDMULTIPAD MENU
BEGIN
POPUP "âtâ@âCâï(&F)"
BEGIN
MENUITEM "ÉVïKì∞ɼ(&N)", IDM_FILENEW
MENUITEM "èJé¡(&O)...", IDM_FILEOPEN
MENUITEM "ÅπÅæé½ò█æ╢(&S)", IDM_FILESAVE
MENUITEM "û╝æOé≡òté»é─ò█æ╢(&A)...", IDM_FILESAVEAS
MENUITEM SEPARATOR
MENUITEM "ê≤ìⁿ(&P)", IDM_FILEPRINT
MENUITEM "âvâèâôâ^é╠É▌ÆΦ(&T)...", IDM_FILESETUP
MENUITEM SEPARATOR
MENUITEM "ÆZéóâüâjâàü[(&H)" IDM_FILEMENU
MENUITEM SEPARATOR
MENUITEM "ÅIù╣(&X)", IDM_FILEEXIT
MENUITEM SEPARATOR
MENUITEM "âoü[âWâçâôÅεò±(&A)...", IDM_HELPABOUT
END
POPUP "ò╥ÅW(&E)"
BEGIN
MENUITEM "î│é╔û▀é╖(&U)\tAlt+BkSp", IDM_EDITUNDO
MENUITEM SEPARATOR
MENUITEM "É╪éΦĵéΦ(&T)\tShift+Del", IDM_EDITCUT
MENUITEM "âRâsü[(&C)\tCtrl+Ins", IDM_EDITCOPY
MENUITEM "ô\éΦòté»(&P)\tShift+Ins", IDM_EDITPASTE
MENUITEM "ìφÅ£(&D)\tDel", IDM_EDITCLEAR
MENUITEM SEPARATOR
MENUITEM "é╖é╫é─é╠ö═ê═é≡æIæ≡(&S)", IDM_EDITSELECT
MENUITEM "ëEÆ[é┼É▄éΦò╘é╖(&W)" IDM_EDITWRAP
MENUITEM SEPARATOR
MENUITEM "âIâvâVâçâô(&O)..." IDM_OPTIONS
END
POPUP "îƒì⌡(&S)"
BEGIN
MENUITEM "ò╢ÄÜù±é╠îƒì⌡(&F)...", IDM_SEARCHFIND
MENUITEM "ăé≡îƒì⌡(&N)\tF3", IDM_SEARCHNEXT
MENUITEM "æOé≡îƒì⌡(&P)\tF4", IDM_SEARCHPREV
END
POPUP "âEâBâôâhâE(&W)"
BEGIN
MENUITEM "ò└é╫é─ò\Ī(&T)", IDM_WINDOWTILE
MENUITEM "Ådé╦é─ò\Ī(&C)", IDM_WINDOWCASCADE
MENUITEM "âAâCâRâôé╠É«ù±(&I)", IDM_WINDOWICONS
MENUITEM "é╖é╫é─ò┬é╢éΘ(&A)", IDM_WINDOWCLOSEALL
END
END
/* short frame window menu */
IDMULTIPAD2 MENU
BEGIN
POPUP "âtâ@âCâï(&F)"
BEGIN
MENUITEM "ÉVïKì∞ɼ(&N)", IDM_FILENEW
MENUITEM "èJé¡(&O)...", IDM_FILEOPEN
MENUITEM "ÅπÅæé½ò█æ╢(&S)", IDM_FILESAVE
MENUITEM "û╝æOé≡òté»é─ò█æ╢(&A)...", IDM_FILESAVEAS
MENUITEM SEPARATOR
MENUITEM "ê≤ìⁿ(&P)...", IDM_FILEPRINT
MENUITEM SEPARATOR
MENUITEM "òWÅÇâüâjâàü[(&F)", IDM_FILEMENU
MENUITEM SEPARATOR
MENUITEM "ÅIù╣(&X)", IDM_FILEEXIT
MENUITEM SEPARATOR
MENUITEM "âoü[âWâçâôÅεò±(&A)...", IDM_HELPABOUT
END
POPUP "ò╥ÅW(&E)"
BEGIN
MENUITEM "î│é╔û▀é╖(&U)\tAlt+BkSp", IDM_EDITUNDO
MENUITEM SEPARATOR
MENUITEM "É╪éΦĵéΦ(&C)\tShift+Del", IDM_EDITCUT
MENUITEM "âRâsü[(&P)\tCtrl+Ins", IDM_EDITCOPY
MENUITEM "ô\éΦòté»(&P)\tShift+Ins", IDM_EDITPASTE
MENUITEM "ìφÅ£(&D)\tDel", IDM_EDITCLEAR
END
POPUP "âEâBâôâhâE(&W)"
BEGIN
MENUITEM "É«ù±(&A)", IDM_WINDOWTILE
END
END
STRINGTABLE
BEGIN
IDS_CANTOPEN "%s âtâ@âCâïé≡âIü[âvâôé┼é½é▄é╣é±üB"
IDS_CANTREAD "%s âtâ@âCâïé≡ô╟é▌ì₧é▀é▄é╣é±üB"
IDS_CANTCREATE "%s âtâ@âCâïé≡ì∞ɼé┼é½é▄é╣é±üB"
IDS_CANTWRITE "%s âtâ@âCâïé╔Åæé½ì₧é▀é▄é╣é±üB"
IDS_ADDEXT ".TXT"
IDS_ILLFNM "û│î°é╚âtâ@âCâïû╝: '%s'"
IDS_CLOSESAVE "%s é═ìXÉVé│éΩé─éóé▄é╖üBò█æ╢é╡é▄é╖é⌐?"
IDS_CANTFIND "%s é¬î⌐é┬é⌐éΦé▄é╣é±üB"
IDS_HELPNOTAVAIL "Windowsé╠âwâïâv âAâvâèâPü[âVâçâôé≡âìü[âhé┼é½é▄é╣é±üB"
IDS_CLIENTTITLE "MultiPad MDI & ┌╝▐╜─╪ ├▐╙ ▒╠▀╪╣░╝«▌, Version 0.01"
IDS_UNTITLED "û│æΦ"
IDS_PRINTJOB "RegMPad - "
IDS_PRINTERROR "%s é≡ê≤ìⁿé┼é½é▄é╣é±!"
IDS_APPNAME "RegMPad"
IDS_CANTINSTALL "é▒é╠âAâvâèâPü[âVâçâôé═üAÄgùpé╖éΘæOé╔è╟ù¥Ä╥é╔éµé┴é─ægé▌ì₧é▄éΩé─éóé╚é»éΩé╬é╚éΦé▄é╣é±üB"
IDS_NEED_NAME_ORG "ægé▌ì₧é▌é╠ì█é╔û╝æOé╞ë∩Ä╨û╝é≡ôⁿù═é╖éΘòKùvé¬éáéΦé▄é╖!"
IDS_SECURITY_FAIL_I "ægé▌ì₧é▌Æåé╔âZâLâàâèâeâB âGâëü[é¬ö¡É╢é╡é▄é╡é╜!"
IDS_SECURITY_FAIL_U "âXâ^ü[âgâAâbâvÆåé╔âZâLâàâèâeâB âGâëü[é¬ö¡É╢é╡é▄é╡é╜!"
IDS_MEMORY_LIMITED "âüâéâèòsæ½ -- é▒é╠Åêù¥é≡É│ÅφÅIù╣é┼é½é▄é╣é±!"
IDS_REG_ACCESS_ERROR "âîâWâXâgâè âAâNâZâX âGâëü[!"
IDS_MUTEX_LOGIC_ERR "ÿAæ▒ôIé╚âGâëü[ -- é▒é╠Åêù¥é≡É│ÅφÅIù╣é┼é½é▄é╣é±!"
IDS_GLOBAL_SEQ_ERR "âOâìü[âoâï è∙ÆΦÆlé≡ô╟é▌ì₧é▐é▒é╞é¬é┼é½é▄é╣é±!"
IDS_REGISTRY_DAMAGE "âîâWâXâgâè âGâôâgâèé¬ë≤éΩé─éóé▄é╖! ì─ægé▌ì₧é▌é≡é╡é─é¡é╛é│éóüB"
IDS_FILTERSPEC "├╖╜─ ╠º▓┘(*.TXT)\0*.*\0"
IDS_OFNSTRTITLE "âtâ@âCâïé≡èJé¡"
IDS_OPENFAILMSG "âtâ@âCâïé╠âIü[âvâôé╔Ä╕ösé╡é▄é╡é╜!"
IDS_SAVEFILTERSPEC "├╖╜─ ╠º▓┘(*.TXT)\0*.txt\0"
IDS_SAVEFILETITLE "âtâ@âCâïé╠ò█æ╢"
IDS_WRONGOSMSG1 "é▒é╠âTâôâvâïé═üAWindows NT é┼é╠é▌ùÿùpë┬ö\é╚âZâLâàâèâeâBï@ö\é≡âfâéé╡é▄é╖üB"
IDS_WRONGOSMSG2 "RegMPad é═ÅIù╣é╡é▄é╖"
IDS_FAILWRAP "<SetWrap> âüâéâèòsæ½é╠é╜é▀üAÉ▄éΦò╘é╡âéü[âhé≡ò╧ìXé┼é½é▄é╣é±üB"
END
#endif
#include "multipad.dlg"