home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
graphics
/
gdi
/
showdib
/
showdib.rc
< prev
next >
Wrap
Text File
|
1997-10-05
|
7KB
|
187 lines
//-----------------------------------------------------------------------------
// This is a part of the Microsoft Source Code Samples.
// Copyright (C) 1993-1997 Microsoft Corporation.
// All rights reserved.
//
// This source code is only intended as a supplement to
// Microsoft Development Tools and/or WinHelp documentation.
// See these sources for detailed information regarding the
// Microsoft samples programs.
//-----------------------------------------------------------------------------
#include "windows.h"
#include "showdib.h"
#include "showdib.dlg"
SHOWICON ICON showdib.ico
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
showdib MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Open...", IDM_OPEN
MENUITEM "&Save...", IDM_SAVE
MENUITEM "&Print", IDM_PRINT
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
MENUITEM SEPARATOR
MENUITEM "&About ShowDIB ...", IDM_ABOUT
END
POPUP "&Options"
BEGIN
MENUITEM "&Update Colors", IDM_UPDATECOL
MENUITEM "&Hide Changes", IDM_NOUGLY
MENUITEM "&DIB to Screen", IDM_DIBSCREEN
MENUITEM "&Memory DIBs", IDM_MEMORYDIB
MENUITEM "&Transparent", IDM_TRANSPARENT
MENUITEM SEPARATOR
MENUITEM "&Paste DIB", IDM_PASTEDIB
MENUITEM "&Paste DDB", IDM_PASTEDDB
MENUITEM "&Paste Palette", IDM_PASTEPAL
MENUITEM "&Copy", IDM_COPY
END
POPUP "&Animate"
BEGIN
MENUITEM "Steal Colors", IDM_STEALCOL
MENUITEM "Off", IDM_ANIMATE0
MENUITEM "5", IDM_ANIMATE5
MENUITEM "50", IDM_ANIMATE50
MENUITEM "100", IDM_ANIMATE100
MENUITEM "200", IDM_ANIMATE200
MENUITEM "LongTime", IDM_ANIMATE201
END
END
STRINGTABLE
BEGIN
IDS_MEMLOW "<WM_CREATE> Not enough memory for palette."
IDS_NOMEM "No Memory Available!"
IDS_OPENDIBPROMPT "Select a DIB to display"
IDS_SAVEDIBPROMPT "Select File to save DIB to"
IDS_CANTSAVEFILE "Unable to save the specified file"
IDS_CANTOPENFILE "Can't open file '%ls'"
IDS_BADDIBFILE "%ls is not a Legitimate DIB File!"
IDS_CREATEPALFAIL "CreatePalette() Failed"
IDS_CANTLOADRLE "Could not load RLE!"
IDS_CANTCREATEBMP "Could not create bitmap!"
IDS_CANTDRAWSCANS "Could not draw DIB scans to device!"
IDS_CANTDRAWMAP "Could not draw map to screen!"
IDS_SAVESTR "&Save"
IDS_OPENSTR "&Open"
END
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
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
showdib MENU
BEGIN
POPUP "âtâ@âCâï(&F)"
BEGIN
MENUITEM "èJé¡(&O)...", IDM_OPEN
MENUITEM "ò█æ╢(&S)...", IDM_SAVE
MENUITEM "ê≤ìⁿ(&P)", IDM_PRINT
MENUITEM SEPARATOR
MENUITEM "ÅIù╣(&X)", IDM_EXIT
MENUITEM SEPARATOR
MENUITEM "âoü[âWâçâôÅεò±(&A)...", IDM_ABOUT
END
POPUP "âIâvâVâçâô(&O)"
BEGIN
MENUITEM "ÉFé╠ìXÉV(&U)", IDM_UPDATECOL
MENUITEM "ò╧ìXô_é╠ò\Ī(&H)", IDM_NOUGLY
MENUITEM "DIBò\Ī(&D)", IDM_DIBSCREEN
MENUITEM "DIBsâüâéâè(&M)", IDM_MEMORYDIB
MENUITEM "ôºû╛(&T)", IDM_TRANSPARENT
MENUITEM SEPARATOR
MENUITEM "DIBé╠ô\éΦòté»(&A)", IDM_PASTEDIB
MENUITEM "DDBé╠ô\éΦòté»(&S)", IDM_PASTEDDB
MENUITEM "âpâîâbâgé╠ô\éΦòté»(&E)",IDM_PASTEPAL
MENUITEM "âRâsü[(&C)", IDM_COPY
END
POPUP "âAâjâüü[âVâçâô(&A)"
BEGIN
MENUITEM "âXâ`ü[âï âJâëü[", IDM_STEALCOL
MENUITEM "énéeée", IDM_ANIMATE0
MENUITEM "5", IDM_ANIMATE5
MENUITEM "50", IDM_ANIMATE50
MENUITEM "100", IDM_ANIMATE100
MENUITEM "200", IDM_ANIMATE200
MENUITEM "Æ╖Ä₧è╘", IDM_ANIMATE201
END
END
STRINGTABLE
BEGIN
IDS_MEMLOW "<WM_CREATE> âpâîâbâgé╠é╜é▀é╠âüâéâèé¬æ½éΦé▄é╣é±üB"
IDS_NOMEM "âüâéâèé¬æ½éΦé▄é╣é±üI"
IDS_OPENDIBPROMPT "ò\Īé╖éΘ DIB é╠æIæ≡"
IDS_SAVEDIBPROMPT "DIB é≡ò█æ╢é╖éΘâtâ@âCâïé╠æIæ≡"
IDS_CANTSAVEFILE "ÄwÆΦé│éΩé╜âtâ@âCâïé╓é╠ò█æ╢é═é┼é½é▄é╣é±üD"
IDS_CANTOPENFILE "âtâ@âCâïé¬âIü|âvâôé┼é½é▄é╣é±üD '%ls'"
IDS_BADDIBFILE "%s é═É│é╡éóécéhéaî`Ä«é╠âtâ@âCâïé┼é═éáéΦé▄é╣é±üI"
IDS_CREATEPALFAIL "CreatePalette() é╔Ä╕ösé╡é▄é╡é╜üD"
IDS_CANTLOADRLE "éqékédâtâ@âCâïé╠ô╟é▌ì₧é▌é¬é┼é½é▄é╣é±é┼é╡é╜üI"
IDS_CANTCREATEBMP "ârâbâgâ}âbâvé╠ì∞ɼé¬é┼é½é▄é╣é±é┼é╡é╜üI"
IDS_CANTDRAWSCANS "DIB é≡âfâoâCâXé╔ò`é»é▄é╣é±!"
IDS_CANTDRAWMAP "ârâbâgâ}âbâvé≡âXâNâèü[âôé╔âRâsü[é┼é½é▄é╣é±!"
IDS_SAVESTR "ò█æ╢(&S)"
IDS_OPENSTR "èJé¡(&O)"
END
#endif