|
|
1.1 root 1:
2: /******************************************************************************\
3: * This is a part of the Microsoft Source Code Samples.
4: * Copyright (C) 1993 Microsoft Corporation.
5: * All rights reserved.
6: * This source code is only intended as a supplement to
7: * Microsoft Development Tools and/or WinHelp documentation.
8: * See these sources for detailed information regarding the
9: * Microsoft samples programs.
10: \******************************************************************************/
11:
12: /***************************************************************************
13: * *
14: * FILE : PortTool.rc *
15: * *
16: * DESCRIPTION : Resource script file for PortTool. *
17: * *
18: ***************************************************************************/
19: #include "PortTool.H"
20: #include "port.h"
21:
22: IDPortTool ICON LOADONCALL DISCARDABLE "PortTool.ico"
23: IDBkPort ICON LOADONCALL DISCARDABLE "PortStat.ico"
24:
25: /* frame window menu */
26:
27: IDPortTool MENU LOADONCALL DISCARDABLE
28: {
29: POPUP "&File"
30: {
31: MENUITEM "&New", IDM_FILENEW
32: MENUITEM "&Open...", IDM_FILEOPEN
33: MENUITEM "&Save", IDM_FILESAVE
34: MENUITEM "Save &As...", IDM_FILESAVEAS
35: MENUITEM SEPARATOR
36: MENUITEM "&Print", IDM_FILEPRINT
37: MENUITEM "Printer Se&tup...", IDM_FILESETUP
38: MENUITEM SEPARATOR
39: MENUITEM "E&xit", IDM_FILEEXIT
40: MENUITEM SEPARATOR
41: MENUITEM "A&bout PortTool...", IDM_FILEABOUT
42: }
43: POPUP "&Edit"
44: {
45: MENUITEM "&Undo\tAlt+BkSp", IDM_EDITUNDO
46: MENUITEM SEPARATOR
47: MENUITEM "Cu&t\tShift+Del", IDM_EDITCUT
48: MENUITEM "&Copy\tCtrl+Ins", IDM_EDITCOPY
49: MENUITEM "&Paste\tShift+Ins", IDM_EDITPASTE
50: MENUITEM "&Delete\tDel", IDM_EDITCLEAR
51: MENUITEM SEPARATOR
52: MENUITEM "&Select All", IDM_EDITSELECT
53: MENUITEM "&Word Wrap" IDM_EDITWRAP
54: MENUITEM "Sc&roll Bars", IDM_EDITSCROLL
55: MENUITEM SEPARATOR
56: MENUITEM "Select &Font...", IDM_EDITFONT
57: }
58: POPUP "&Search"
59: {
60: MENUITEM "&Find...", IDM_SEARCHFIND
61: MENUITEM "&Next\tF3", IDM_SEARCHNEXT
62: MENUITEM "&Previous\tF4", IDM_SEARCHPREV
63: }
64: POPUP "&Port"
65: {
66: MENUITEM "&Current file interactively", IDM_PORTCURFILE
67: MENUITEM "Files in &background...", IDM_PORTBKGND
68: }
69: }
70:
71:
72: /* frame menu accelerators */
73: IDA_PORTTOOL ACCELERATORS
74: BEGIN
75: VK_INSERT, IDM_EDITCOPY, VIRTKEY, CONTROL
76: VK_INSERT, IDM_EDITPASTE, VIRTKEY, SHIFT
77: VK_DELETE, IDM_EDITCUT, VIRTKEY, SHIFT
78: VK_BACK, IDM_EDITUNDO, VIRTKEY, ALT
79: VK_F3, IDM_SEARCHNEXT, VIRTKEY
80: VK_F4, IDM_SEARCHPREV, VIRTKEY
81: END
82:
83: STRINGTABLE
84: {
85: IDS_UNTITLED "Untitled"
86: IDS_OPENFAILED "Can't open file"
87: IDS_READFAILED "Can't read file"
88: IDS_NOSIZE "File of zero length"
89: IDS_REALLOCFAILED "Can't allocate Edit buffer"
90: IDS_PRINTJOB "PortTool - "
91: IDS_PRINTERROR "Cannot print %s!"
92: IDS_APPNAME "PortTool"
93: IDS_EDITWNDFAILED "Can't create edit window"
94: IDS_GETHANDLEFAILED "Edit window won't release memory handle"
95: IDS_DATACHANGED "Buffer has been modified, save file first?"
96: IDS_SAVEASTITLE "Save file as"
97: IDS_DEFAULTFILEEXT "C"
98: IDS_WRITEOPENFAILED "Can't open file for writing"
99: IDS_WRITEFAILED "Can't write to file"
100: IDS_FILEOPENTITLE "Open source files"
101: IDS_STRINGNOTFOUND "String not found"
102: IDS_SEARCHDLGFAILED "Can't create search dialog"
103: IDS_PTRCOMMDLGFAILED "Can't create print dialog box, job aborted"
104: IDS_PRINTABORTED "Print aborted"
105: IDS_STARTDOCFAILED "Can't start print job, job aborted"
106: IDS_SETABORTPROCFAILED "Can't set abort proc, job aborted"
107: IDS_CANCELDLGFAILED "Can't create print cancel dialog, job aborted"
108: IDS_PTRCONFIGFAILED "Default printer undefined, service unavailable"
109: IDS_WINDOWSAPPNAME "WINDOWS"
110: IDS_DEVICENAME "DEVICE"
111: IDS_NOFILETOPORT "File undefined, can't port empty buffer"
112: IDS_PORTFILE "Porting - "
113: IDS_SEARCHING "Searching..."
114: IDS_FOUND "Found => "
115: IDS_NOMOREPORTISSUES "End of file reached, port complete"
116: IDS_PORTINITFAILED "Can't initialize port data"
117: IDS_MEMORYFAILED "Can't allocate memory necesary to continue"
118: IDS_NOTYETIMPLEMENTED "This feature is not yet available"
119: IDS_INIFILE "port.ini"
120: IDS_WINHELP "WinHelp"
121: IDS_FONTFAILEDTOCREATE "Can't create FIXED-PITCH font, using system font"
122: IDS_NOT "NOT!"
123: IDS_LOADPORTFAILED "Can't load port DLL, check for file on disk"
124: IDS_PROCADDRESSFAILED "Can't get address of CheckString function"
125: IDS_PORTDLLFILE "port.dll"
126: IDS_CHECKSTRING "CheckString"
127: IDS_BKPORTNEWLINE "\r\n"
128: IDS_BKPORTHEADER "/* PortTool v2.2 "
129: IDS_BKPORTTOKEN "/* Found : "
130: IDS_BKPORTISSUE "/* Issue : "
131: IDS_BKPORTSUGGEST "/* Suggest : "
132: IDS_BKPORTHELP "/* Help available, search for "
133: IDS_BKPORTHELPFILE " in WinHelp file API32WH.HLP"
134: IDS_BKPORTEOL " */\r\n"
135: IDS_BKPORTABORT "AbortBackgroundPortOfFile"
136: IDS_BKPORTSTATUS "StatusOfBackgroundPort"
137: IDS_BKPORTCANCEL "/* Background porting operation aborted. */\r\n"
138: IDS_BKPORTSTARTFAILED "Can't create background porting status dialog"
139: IDS_CANTBUILDFILELIST "Can't create list of files to port"
140: }
141:
142: #include "PortTool.dlg"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.