rtoss - Blame information for rev 147

Subversion Repositories:
Rev:
Rev Author Line No. Line
89 roytam 1  
2 #include "resource.h"
3 #ifndef DS_SETFOREGROUND
4 #define DS_SETFOREGROUND 0x200L
5 #endif
6 #ifndef RT_MANIFEST
7 #define RT_MANIFEST 24
8 #endif
9  
10 #include <winresrc.h>
11 #include <winuser.h>
12 #include "fileopen.dlg"
92 roytam 13 #ifndef IDC_STATIC
89 roytam 14 #define IDC_STATIC (-1)
92 roytam 15 #endif
89 roytam 16  
17 /////////////////////////////////////////////////////////////////////////////
18 //
19 // RT_MANIFEST
20 //
21  
22 1 RT_MANIFEST "manifest.xml"
23  
24 /////////////////////////////////////////////////////////////////////////////
25 //
26 // Version
27 //
28  
29 VS_VERSION_INFO VERSIONINFO
30 FILEVERSION 0,0,4,0
31 PRODUCTVERSION 0,1,8,0
32 FILEFLAGSMASK 0x3fL
33 #ifdef _DEBUG
34 FILEFLAGS 0x1L
35 #else
36 FILEFLAGS 0x0L
37 #endif
38 FILEOS 0x4L
39 FILETYPE 0x1L
40 FILESUBTYPE 0x0L
41 BEGIN
42 BLOCK "StringFileInfo"
43 BEGIN
44 BLOCK "041104b0"
45 BEGIN
46 VALUE "CompanyName", "kMonos.NET\0"
47 VALUE "FileDescription", "GreenPad\0"
48 VALUE "FileVersion", "#42\0"
49 VALUE "InternalName", "kilib\0"
50 VALUE "LegalCopyright", "Written by k.inaba 2002-2008.\0"
51 VALUE "OriginalFilename", "GreenPad.exe\0"
52 VALUE "ProductName", "GreenPad\0"
53 VALUE "ProductVersion", "1.08.0\0"
54 END
55 END
56 BLOCK "VarFileInfo"
57 BEGIN
58 VALUE "Translation", 0x411, 1200
59 END
60 END
61  
62 /////////////////////////////////////////////////////////////////////////////
63 //
64 // Icon
65 //
66  
67 // Icon with lowest ID value placed first to ensure application icon
68 // remains consistent on all systems.
69 IDR_MAIN ICON "exefile.ico"
70  
124 roytam 71 #if !defined(TARGET_VER) || (defined(TARGET_VER) && TARGET_VER>310)
89 roytam 72 /////////////////////////////////////////////////////////////////////////////
124 roytam 73 // “ú–{Œê resources
74  
75 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN)
76 #ifdef _WIN32
77 LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
78 #pragma code_page(932)
79 #endif //_WIN32
80  
81 /////////////////////////////////////////////////////////////////////////////
89 roytam 82 //
83 // Menu
84 //
85  
86 IDR_MAIN MENU
87 BEGIN
88 POPUP "ƒtƒ@ƒCƒ‹(&F)"
89 BEGIN
90 MENUITEM "V‹Kì¬(&N)\tCtrl+N", ID_CMD_NEWFILE
91 MENUITEM SEPARATOR
92 MENUITEM "ŠJ‚­(&O)...\tCtrl+O", ID_CMD_OPENFILE
93 MENUITEM "ŠJ‚«’¼‚·(&R)...\tCtrl+R", ID_CMD_REOPENFILE
94 MENUITEM SEPARATOR
95 MENUITEM "•Û‘¶(&S)\tCtrl+S", ID_CMD_SAVEFILE
96 MENUITEM "•Ê–¼‚Å•Û‘¶(&A)...\tCtrl+Shift+S", ID_CMD_SAVEFILEAS
97 MENUITEM SEPARATOR
98 POPUP "Å‹ß‚̃tƒ@ƒCƒ‹(&M)"
99 BEGIN
100 MENUITEM "(no files)", ID_MENUITEM40029, GRAYED
101 END
102 MENUITEM SEPARATOR
103 MENUITEM "I—¹(&X)", ID_CMD_EXIT
104 END
105 POPUP "•ÒW(&E)"
106 BEGIN
107 MENUITEM "Œ³‚É–ß‚·(&U)\tCtrl+Z", ID_CMD_UNDO
108 MENUITEM "‚â‚è’¼‚·(&R)\tCtrl+Y", ID_CMD_REDO
109 MENUITEM SEPARATOR
110 MENUITEM "Ø‚èŽæ‚è(&X)\tCtrl+X", ID_CMD_CUT
111 MENUITEM "ƒRƒs[(&C)\tCtrl+C", ID_CMD_COPY
112 MENUITEM "“\‚è•t‚¯(&P)\tCtrl+V", ID_CMD_PASTE
113 MENUITEM "íœ(&D)\tDel", ID_CMD_DELETE
114 MENUITEM SEPARATOR
115 MENUITEM "‘S‚Ä‚ð‘I‘ð(&A)\tCtrl+A", ID_CMD_SELECTALL
116 MENUITEM SEPARATOR
117 MENUITEM "“úŽž‚Ì‘}“ü(&T)\tF5", ID_CMD_DATETIME
118 END
119 POPUP "ŒŸõ(&S)"
120 BEGIN
121 MENUITEM "ŒŸõE’uŠ·(&F)\tCtrl+F", ID_CMD_FIND
122 MENUITEM "ŽŸ‚ðŒŸõ(&N)\tF3", ID_CMD_FINDNEXT
123 MENUITEM "‘O‚ðŒŸõ(&P)\tShift+F3", ID_CMD_FINDPREV
124 MENUITEM SEPARATOR
125 MENUITEM "Žw’ès‚ÖƒWƒƒƒ“ƒv(&J)\tCtrl+J", ID_CMD_JUMP
126 MENUITEM SEPARATOR
127 MENUITEM "Grep(&G)...\tCtrl+G", ID_CMD_GREP
128 END
129 POPUP "•\Ž¦(&V)"
130 BEGIN
131 MENUITEM "Ü‚è•Ô‚³‚È‚¢(&N)\tCtrl+1", ID_CMD_NOWRAP
132 MENUITEM "Žw’蕝‚Ő܂è•Ô‚µ(&W)\tCtrl+2", ID_CMD_WRAPWIDTH
133 MENUITEM "‰E’[‚Ő܂è•Ô‚µ(&R)\tCtrl+3", ID_CMD_WRAPWINDOW
134 MENUITEM SEPARATOR
135 POPUP "•¶‘ƒ^ƒCƒv(&T)"
136 BEGIN
137 MENUITEM "(‚È‚µ)", ID_MENUITEM40025, GRAYED
138 END
139 MENUITEM "Ý’è(&S)...", ID_CMD_CONFIG
140 MENUITEM SEPARATOR
141 MENUITEM "ƒXƒe[ƒ^ƒX ƒo[(&B)", ID_CMD_STATUSBAR
142 END
143 END
144  
145  
146 /////////////////////////////////////////////////////////////////////////////
147 //
148 // Dialog
149 //
150  
151 IDD_OPENFILEHOOK DIALOGEX 0, 0, 187, 34
152 STYLE DS_SETFONT | DS_3DLOOK | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS
153 FONT 9, "‚l‚r ‚oƒSƒVƒbƒN"
154 BEGIN
155 LTEXT "",1119,0,0,187,13,SS_SUNKEN | NOT WS_VISIBLE | NOT
156 WS_GROUP
157 LTEXT "•¶ŽšƒR[ƒh(&C):",IDC_STATIC,7,18,42,8
158 COMBOBOX IDC_CODELIST,66,16,111,103,CBS_DROPDOWNLIST | WS_VSCROLL |
159 WS_TABSTOP
160 END
161  
162 IDD_SAVEFILEHOOK DIALOGEX 0, 0, 187, 55
163 STYLE DS_SETFONT | DS_3DLOOK | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS
164 FONT 9, "‚l‚r ‚oƒSƒVƒbƒN"
165 BEGIN
166 LTEXT "",1119,0,0,187,13,SS_SUNKEN | NOT WS_VISIBLE | NOT
167 WS_GROUP
168 LTEXT "•¶ŽšƒR[ƒh(&C):",IDC_STATIC,7,18,42,8
169 COMBOBOX IDC_CODELIST,66,16,111,103,CBS_DROPDOWNLIST | WS_VSCROLL |
170 WS_TABSTOP
171 LTEXT "‰üsƒR[ƒh(&L):",IDC_STATIC,7,37,41,8
172 COMBOBOX IDC_CRLFLIST,66,35,60,103,CBS_DROPDOWNLIST | WS_VSCROLL |
173 WS_TABSTOP
174 END
175  
176 IDD_REOPENDLG DIALOG 0, 0, 187, 54
177 STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_VISIBLE |
178 WS_CLIPSIBLINGS | WS_CAPTION
179 CAPTION "ŠJ‚«’¼‚·"
180 FONT 9, "‚l‚r ‚oƒSƒVƒbƒN"
181 BEGIN
182 LTEXT "•¶ŽšƒR[ƒh(&C):",IDC_STATIC,9,13,42,8
183 COMBOBOX IDC_CODELIST,59,11,111,103,CBS_DROPDOWNLIST | WS_VSCROLL |
184 WS_TABSTOP
185 PUSHBUTTON "OK",IDOK,66,32,56,14
186 PUSHBUTTON "ƒLƒƒƒ“ƒZƒ‹",IDCANCEL,125,32,56,14
187 END
188  
189 IDD_FINDREPLACE DIALOG 0, 0, 316, 84
190 STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_CENTER | WS_POPUP |
191 WS_CAPTION | WS_SYSMENU
192 CAPTION "ŒŸõE’uŠ·"
193 FONT 9, "‚l‚r ƒSƒVƒbƒN"
194 BEGIN
195 LTEXT "ŒŸõ•¶Žš—ñ(&T)F",IDC_STATIC,5,10,61,8
196 EDITTEXT IDC_FINDBOX,68,8,122,13,ES_AUTOHSCROLL
197 LTEXT "’uŠ·•¶Žš—ñ(&W)F",IDC_STATIC,5,31,61,8
198 EDITTEXT IDC_REPLACEBOX,68,28,122,13,ES_AUTOHSCROLL
199 DEFPUSHBUTTON "ŽŸ‚ðŒŸõ(&F)",ID_FINDNEXT,195,8,56,14
200 PUSHBUTTON "’uŠ·(&R)",ID_REPLACENEXT,195,27,56,14
201 PUSHBUTTON "‘O‚ðŒŸõ(&E)",ID_FINDPREV,256,8,55,14
202 PUSHBUTTON "‘S’uŠ·(&A)",ID_REPLACEALL,255,27,56,14
203 GROUPBOX "ƒIƒvƒVƒ‡ƒ“(&O)",IDC_STATIC,12,47,213,27
204 CONTROL "‘啶Žš¬•¶Žš‚ð‹æ•Ê‚µ‚È‚¢(&I)",IDC_IGNORECASE,"Button",
205 BS_AUTOCHECKBOX | WS_TABSTOP,22,59,124,10
206 CONTROL "³‹K•\Œ»(&X)",IDC_REGEXP,"Button",BS_AUTOCHECKBOX |
207 WS_TABSTOP,153,58,60,10
208 PUSHBUTTON "•Â‚¶‚é",IDCANCEL,244,59,37,14
209 END
210  
211 IDD_JUMP DIALOG 0, 0, 131, 43
212 STYLE DS_ABSALIGN | DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP |
213 WS_CAPTION | WS_SYSMENU
214 CAPTION "Žw’ès‚ÖƒWƒƒƒ“ƒv"
215 FONT 9, "‚l‚r ‚oƒSƒVƒbƒN"
216 BEGIN
217 DEFPUSHBUTTON "&Go!",IDOK,87,12,25,14
218 EDITTEXT IDC_LINEBOX,14,13,40,12,ES_AUTOHSCROLL | ES_NUMBER
219 LTEXT "s–Ú‚Ö",IDC_STATIC,61,15,22,8
220 END
221  
147 roytam 222 #if !defined(TARGET_VER) || (defined(TARGET_VER) && TARGET_VER>350)
89 roytam 223 IDD_CONFIG DIALOGEX 0, 0, 287, 236
147 roytam 224 #else
225 IDD_CONFIG DIALOG 0, 0, 287, 236
226 #endif
89 roytam 227 STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
228 CAPTION "ƒGƒfƒBƒ^Ý’è"
229 FONT 9, "‚l‚r ‚oƒSƒVƒbƒN"
230 BEGIN
231 GROUPBOX "‹¤’ʐݒè",IDC_STATIC,7,11,273,102
147 roytam 232 RTEXT "[Œ³‚É–ß‚·]ãŒÀ(&U):",IDC_STATIC,24,24,56,8
89 roytam 233 CONTROL "–³ŒÀ",IDC_UNDOLIM1,"Button",BS_AUTORADIOBUTTON |
234 WS_GROUP | WS_TABSTOP,86,23,33,10
235 CONTROL "",IDC_UNDOLIM2,"Button",BS_AUTORADIOBUTTON,122,23,11,8
236 EDITTEXT IDC_UNDO_CT,134,21,24,12,ES_AUTOHSCROLL | ES_NUMBER
237 LTEXT "‰ñ",IDC_STATIC,162,24,8,8
147 roytam 238 RTEXT "‰¡ˆÊ’u‚Ì•\Ž¦(&L):",IDC_STATIC,29,37,51,8
89 roytam 239 CONTROL "•¶Žš”",IDC_COUNTBYLETTER,"Button",BS_AUTORADIOBUTTON |
240 WS_GROUP | WS_TABSTOP,86,36,33,10
241 CONTROL "•\Ž¦ˆÊ’u",IDC_COUNTBYLETTER2,"Button",
147 roytam 242 BS_AUTORADIOBUTTON | WS_TABSTOP,122,36,42,10
243 RTEXT "̧²Ù—š—ðŒ”(&H):",IDC_STATIC,19,50,62,8
89 roytam 244 EDITTEXT IDC_LATEST_NUM,86,48,32,12,ES_AUTOHSCROLL | ES_NUMBER
147 roytam 245 RTEXT "̧²Ù¥Ì¨ÙÀ(&F):",IDC_STATIC,21,65,60,8
89 roytam 246 EDITTEXT IDC_TXTFILT,86,63,182,12,ES_AUTOHSCROLL
147 roytam 247 RTEXT "ŠO•”Grep(&G):",IDC_STATIC,21,80,60,8
89 roytam 248 EDITTEXT IDC_EXTGREP,86,78,182,12,ES_AUTOHSCROLL
147 roytam 249 RTEXT "V‹Ķ²Ù‚ÌÓ°ÄÞ(&N):",IDC_STATIC,9,94,73,8
89 roytam 250 COMBOBOX IDC_NEWCS,86,92,76,162,CBS_DROPDOWNLIST | WS_VSCROLL |
251 WS_TABSTOP
252 COMBOBOX IDC_NEWLB,164,92,39,162,CBS_DROPDOWNLIST | WS_VSCROLL |
253 WS_TABSTOP
254 COMBOBOX IDC_NEWDT,204,92,65,164,CBS_DROPDOWNLIST | WS_VSCROLL |
255 WS_TABSTOP
147 roytam 256 CONTROL "“¯‚¶³²ÝÄÞ³‚ÅŠJ‚­(&R)",IDC_OPENSAME,"Button",
257 BS_AUTOCHECKBOX | WS_TABSTOP,181,25,90,10
258 CONTROL "³²ÝÄÞ³»²½Þ‚ð‹L‰¯(&S)",IDC_REMSIZE,"Button",
259 BS_AUTOCHECKBOX | WS_TABSTOP,181,35,96,10
260 CONTROL "³²ÝÄÞ³ˆÊ’u‚ð‹L‰¯(&P)",IDC_REMPLACE,"Button",
261 BS_AUTOCHECKBOX | WS_TABSTOP,181,45,94,10
262 GROUPBOX "•¶‘À²Ìߕʐݒè",IDC_STATIC,7,118,274,92
89 roytam 263 LISTBOX IDC_DOCTYPELIST,15,133,88,53,LBS_NOINTEGRALHEIGHT |
264 WS_VSCROLL | WS_TABSTOP
265 PUSHBUTTON "’ljÁ",IDC_NEWDOCTYPE,17,191,29,14
266 PUSHBUTTON "íœ",IDC_DELDOCTYPE,48,191,29,14
147 roytam 267 RTEXT "ÊßÀ°Ý:",IDC_STATIC,114,138,27,8
89 roytam 268 EDITTEXT IDC_DT_PAT,146,135,127,12,ES_AUTOHSCROLL
147 roytam 269 RTEXT "·°Ü°ÄÞ:",IDC_STATIC,108,155,34,8
89 roytam 270 COMBOBOX IDC_PAT_KWD,146,152,75,172,CBS_DROPDOWNLIST | CBS_SORT |
271 CBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
272 PUSHBUTTON "•ÒW",IDC_EDITKWD,231,152,19,14
147 roytam 273 RTEXT "Ú²±³Ä:",IDC_STATIC,111,172,31,8
89 roytam 274 COMBOBOX IDC_PAT_LAY,146,169,75,172,CBS_DROPDOWNLIST | CBS_SORT |
275 CBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
276 PUSHBUTTON "•ÒW",IDC_EDITLAY,231,169,19,14
277 DEFPUSHBUTTON "OK",IDOK,175,214,50,14
278 PUSHBUTTON "·¬Ý¾Ù",IDCANCEL,230,214,50,14
279 END
280  
281 IDD_ADDDOCTYPE DIALOG 0, 0, 123, 67
282 STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
283 CAPTION "•¶‘ƒ^ƒCƒv‚̒ljÁ"
284 FONT 9, "‚l‚r ‚oƒSƒVƒbƒN"
285 BEGIN
286 LTEXT "–¼‘O(&N)F",IDC_STATIC,17,11,27,8
287 EDITTEXT IDC_NAME,46,8,69,12,ES_AUTOHSCROLL
288 LTEXT "Šg’£Žq(&E)F",IDC_STATIC,10,25,34,8
289 EDITTEXT IDC_EXT,46,24,69,12,ES_AUTOHSCROLL
290 DEFPUSHBUTTON "OK",IDOK,33,43,34,14
291 PUSHBUTTON "·¬Ý¾Ù",IDCANCEL,71,43,33,14
292 END
293  
294 /////////////////////////////////////////////////////////////////////////////
295 //
296 // Accelerator
297 //
298  
299 IDR_MAIN ACCELERATORS
300 BEGIN
301 "1", ID_CMD_NOWRAP, VIRTKEY, CONTROL, NOINVERT
302 "2", ID_CMD_WRAPWIDTH, VIRTKEY, CONTROL, NOINVERT
303 "3", ID_CMD_WRAPWINDOW, VIRTKEY, CONTROL, NOINVERT
304 "A", ID_CMD_SELECTALL, VIRTKEY, CONTROL, NOINVERT
305 "C", ID_CMD_COPY, VIRTKEY, CONTROL, NOINVERT
306 "F", ID_CMD_FIND, VIRTKEY, CONTROL, NOINVERT
307 "G", ID_CMD_GREP, VIRTKEY, CONTROL, NOINVERT
308 "H", ID_CMD_FIND, VIRTKEY, CONTROL, NOINVERT
309 "J", ID_CMD_JUMP, VIRTKEY, CONTROL, NOINVERT
310 "N", ID_CMD_NEWFILE, VIRTKEY, CONTROL, NOINVERT
311 "O", ID_CMD_OPENFILE, VIRTKEY, CONTROL, NOINVERT
312 "R", ID_CMD_REOPENFILE, VIRTKEY, CONTROL, NOINVERT
313 "S", ID_CMD_SAVEFILE, VIRTKEY, CONTROL, NOINVERT
314 "S", ID_CMD_SAVEFILEAS, VIRTKEY, SHIFT, CONTROL,
315 NOINVERT
316 "V", ID_CMD_PASTE, VIRTKEY, CONTROL, NOINVERT
317 VK_DELETE, ID_CMD_CUT, VIRTKEY, SHIFT, NOINVERT
318 VK_F3, ID_CMD_FINDNEXT, VIRTKEY, NOINVERT
319 VK_F3, ID_CMD_FINDPREV, VIRTKEY, SHIFT, NOINVERT
320 VK_F4, ID_CMD_EXIT, VIRTKEY, CONTROL, NOINVERT
321 VK_F5, ID_CMD_DATETIME, VIRTKEY, NOINVERT
322 VK_INSERT, ID_CMD_COPY, VIRTKEY, CONTROL, NOINVERT
323 VK_INSERT, ID_CMD_PASTE, VIRTKEY, SHIFT, NOINVERT
324 VK_RETURN, ID_CMD_REOPENFILE, VIRTKEY, ALT, NOINVERT
325 VK_TAB, ID_CMD_NEXTWINDOW, VIRTKEY, CONTROL, NOINVERT
326 VK_TAB, ID_CMD_PREVWINDOW, VIRTKEY, SHIFT, CONTROL,
327 NOINVERT
328 "X", ID_CMD_CUT, VIRTKEY, CONTROL, NOINVERT
329 "Y", ID_CMD_REDO, VIRTKEY, CONTROL, NOINVERT
330 "Z", ID_CMD_UNDO, VIRTKEY, CONTROL, NOINVERT
331 END
332  
333  
334 /////////////////////////////////////////////////////////////////////////////
335 //
336 // DESIGNINFO
337 //
338  
339 #ifdef APSTUDIO_INVOKED
340 GUIDELINES DESIGNINFO
341 BEGIN
342 IDD_FINDREPLACE, DIALOG
343 BEGIN
344 LEFTMARGIN, 7
345 RIGHTMARGIN, 309
346 TOPMARGIN, 7
347 BOTTOMMARGIN, 77
348 END
349  
350 IDD_JUMP, DIALOG
351 BEGIN
352 LEFTMARGIN, 7
353 RIGHTMARGIN, 124
354 TOPMARGIN, 7
355 BOTTOMMARGIN, 36
356 END
357  
358 IDD_CONFIG, DIALOG
359 BEGIN
360 LEFTMARGIN, 7
361 RIGHTMARGIN, 280
362 TOPMARGIN, 7
363 BOTTOMMARGIN, 228
364 END
365  
366 IDD_ADDDOCTYPE, DIALOG
367 BEGIN
368 LEFTMARGIN, 7
369 RIGHTMARGIN, 116
370 TOPMARGIN, 7
371 BOTTOMMARGIN, 60
372 END
373 END
374 #endif // APSTUDIO_INVOKED
375  
376  
377 /////////////////////////////////////////////////////////////////////////////
378 //
379 // String Table
380 //
381  
382 STRINGTABLE
383 BEGIN
384 IDS_ASKTOSAVE "Œ»Ý‚Ì•¶‘‚ð•Û‘¶‚µ‚Ü‚·‚©H"
385 IDS_APPNAME "GreenPad"
386 IDS_SAVEERROR "ƒtƒ@ƒCƒ‹‚Ì•Û‘¶‚ÉŽ¸”s‚µ‚Ü‚µ‚½B"
387 IDS_ALLFILES "‘S‚Ẵtƒ@ƒCƒ‹(*.*)"
388 IDS_TXTFILES "ƒeƒLƒXƒgŒ`Ž®‚̃tƒ@ƒCƒ‹"
389 IDS_OPENERROR "ƒtƒ@ƒCƒ‹‚ðŠJ‚­‚Ì‚ÉŽ¸”s‚µ‚Ü‚µ‚½B"
390 IDS_DEFAULT "(•W€)"
391 IDS_NOTFOUND "Œ©‚‚©‚è‚Ü‚¹‚ñ‚Å‚µ‚½B"
392 IDS_REPLACEALLDONE "%d‰ÓŠ’uŠ·‚µ‚Ü‚µ‚½B"
393 IDS_OKTODEL "‚ðíœ‚µ‚Ä‚æ‚낵‚¢‚Å‚·‚©H"
394 END
395  
396 #endif // “ú–{Œê resources
397 /////////////////////////////////////////////////////////////////////////////
123 roytam 398 #endif //TARGET_VER
89 roytam 399  
400  
401 /////////////////////////////////////////////////////////////////////////////
402 // ‰pŒê (•Ä‘) resources
403  
404 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
405 #ifdef _WIN32
406 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
407 #pragma code_page(1252)
408 #endif //_WIN32
409  
410 /////////////////////////////////////////////////////////////////////////////
411 //
412 // Menu
413 //
414  
415 IDR_MAIN MENU
416 BEGIN
417 POPUP "&File"
418 BEGIN
419 MENUITEM "&New File\tCtrl+N", ID_CMD_NEWFILE
420 MENUITEM SEPARATOR
421 MENUITEM "&Open...\tCtrl+O", ID_CMD_OPENFILE
422 MENUITEM "&ReOpen...\tCtrl+R", ID_CMD_REOPENFILE
423 MENUITEM SEPARATOR
424 MENUITEM "&Save\tCtrl+S", ID_CMD_SAVEFILE
425 MENUITEM "Save &As...\tCtrl+Shift+S", ID_CMD_SAVEFILEAS
426 MENUITEM SEPARATOR
427 POPUP "R&ecent Files"
428 BEGIN
429 MENUITEM "(no files)", ID_MENUITEM40030, GRAYED
430 END
431 MENUITEM "E&xit", ID_CMD_EXIT
432 END
433 POPUP "&Edit"
434 BEGIN
435 MENUITEM "&Undo\tCtrl+Z", ID_CMD_UNDO
436 MENUITEM "&Redo\tCtrl+Y", ID_CMD_REDO
437 MENUITEM SEPARATOR
438 MENUITEM "Cut\tCtrl+&X", ID_CMD_CUT
439 MENUITEM "&Copy\tCtrl+C", ID_CMD_COPY
440 MENUITEM "&Paste\tCtrl+V", ID_CMD_PASTE
441 MENUITEM "&Delete\tDel", ID_CMD_DELETE
442 MENUITEM SEPARATOR
443 MENUITEM "Select &All\tCtrl+A", ID_CMD_SELECTALL
444 MENUITEM SEPARATOR
445 MENUITEM "Insert Date&&&Time\tF5", ID_CMD_DATETIME
446 END
447 POPUP "&Search"
448 BEGIN
449 MENUITEM "&Find\tCtrl+F", ID_CMD_FIND
450 MENUITEM "Find &Next\tF3", ID_CMD_FINDNEXT
451 MENUITEM "Find &Prev\tShift+F3", ID_CMD_FINDPREV
452 MENUITEM SEPARATOR
453 MENUITEM "&Jump to Line\tCtrl+J", ID_CMD_JUMP
454 MENUITEM SEPARATOR
455 MENUITEM "&Grep...\tCtrl+G", ID_CMD_GREP
456 END
457 POPUP "&View"
458 BEGIN
459 MENUITEM "&No wrapping\tCtrl+1", ID_CMD_NOWRAP
460 MENUITEM "&Wrap at #th letter\tCtrl+2", ID_CMD_WRAPWIDTH
461 MENUITEM "Wrap at &Right Edge\tCtrl+3", ID_CMD_WRAPWINDOW
462 MENUITEM SEPARATOR
463 POPUP "&Document Type"
464 BEGIN
465 MENUITEM "dummy", ID_MENUITEM40025
466 END
467 MENUITEM "&Settings...", ID_CMD_CONFIG
468 MENUITEM SEPARATOR
469 MENUITEM "Status&Bar", ID_CMD_STATUSBAR
470 END
471 END
472  
473  
474 /////////////////////////////////////////////////////////////////////////////
475 //
476 // Dialog
477 //
478  
479 IDD_SAVEFILEHOOK DIALOGEX 0, 0, 187, 55
480 STYLE DS_SETFONT | DS_3DLOOK | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS
481 FONT 9, "MS Sans Serif"
482 BEGIN
483 LTEXT "",1119,0,0,187,13,SS_SUNKEN | NOT WS_VISIBLE | NOT
484 WS_GROUP
141 roytam 485 LTEXT "&Character Encoding:",IDC_STATIC,6,18,70,8
486 COMBOBOX IDC_CODELIST,76,16,120,103,CBS_DROPDOWNLIST | WS_VSCROLL |
89 roytam 487 WS_TABSTOP
141 roytam 488 LTEXT "&Line ending:",IDC_STATIC,6,37,70,8
489 COMBOBOX IDC_CRLFLIST,76,35,60,103,CBS_DROPDOWNLIST | WS_VSCROLL |
89 roytam 490 WS_TABSTOP
491 END
492  
493 IDD_REOPENDLG DIALOG 0, 0, 187, 54
494 STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_VISIBLE |
495 WS_CLIPSIBLINGS | WS_CAPTION
496 CAPTION "ReOpen File"
497 FONT 9, "MS Sans Serif"
498 BEGIN
141 roytam 499 LTEXT "&Character Encoding:",IDC_STATIC,4,13,68,8
500 COMBOBOX IDC_CODELIST,70,11,112,103,CBS_DROPDOWNLIST | WS_VSCROLL |
89 roytam 501 WS_TABSTOP
502 PUSHBUTTON "OK",IDOK,66,32,56,14
503 PUSHBUTTON "Cancel",IDCANCEL,125,32,56,14
504 END
505  
506 IDD_OPENFILEHOOK DIALOGEX 0, 0, 187, 34
507 STYLE DS_SETFONT | DS_3DLOOK | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS
508 FONT 9, "MS Sans Serif"
509 BEGIN
510 LTEXT "",1119,0,0,187,13,SS_SUNKEN | NOT WS_VISIBLE | NOT
511 WS_GROUP
141 roytam 512 LTEXT "&Character Encoding:",IDC_STATIC,4,18,68,8
513 COMBOBOX IDC_CODELIST,76,16,120,103,CBS_DROPDOWNLIST | WS_VSCROLL |
89 roytam 514 WS_TABSTOP
515 END
516  
517 IDD_JUMP DIALOG 0, 0, 131, 43
518 STYLE DS_ABSALIGN | DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP |
519 WS_CAPTION | WS_SYSMENU
520 CAPTION "Jump To"
521 FONT 9, "MS Sans Serif"
522 BEGIN
523 DEFPUSHBUTTON "&Go!",IDOK,83,13,25,14
524 EDITTEXT IDC_LINEBOX,34,14,40,12,ES_AUTOHSCROLL | ES_NUMBER
525 LTEXT "&Line",IDC_STATIC,17,16,13,8
526 END
527  
528 IDD_FINDREPLACE DIALOG 0, 0, 282, 84
529 STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_CENTER | WS_POPUP |
530 WS_CAPTION | WS_SYSMENU
531 CAPTION "Find & Replace"
532 FONT 9, "MS Sans Serif"
533 BEGIN
534 LTEXT "&Text to Find:",IDC_STATIC,7,10,38,8
535 EDITTEXT IDC_FINDBOX,56,7,123,13,ES_AUTOHSCROLL
536 DEFPUSHBUTTON "&Find",ID_FINDNEXT,185,8,43,14
537 PUSHBUTTON "Find&Prev",ID_FINDPREV,232,8,43,14
538 LTEXT "Replace &with:",IDC_STATIC,7,31,40,8
539 EDITTEXT IDC_REPLACEBOX,56,28,123,13,ES_AUTOHSCROLL
540 PUSHBUTTON "&Replace",ID_REPLACENEXT,185,27,43,14
541 PUSHBUTTON "Replace&All",ID_REPLACEALL,232,27,43,14
542 GROUPBOX "&Options",IDC_STATIC,12,47,181,27
543 CONTROL "&Ignore Case",IDC_IGNORECASE,"Button",BS_AUTOCHECKBOX |
544 WS_TABSTOP,22,59,51,10
545 CONTROL "Regular E&xpression",IDC_REGEXP,"Button",
546 BS_AUTOCHECKBOX | WS_TABSTOP,114,58,73,10
547 PUSHBUTTON "Close",IDCANCEL,244,59,29,14
548 END
549  
550 IDD_ADDDOCTYPE DIALOG 0, 0, 123, 67
551 STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
552 CAPTION "New DocType"
553 FONT 9, "MS Sans Serif"
554 BEGIN
555 LTEXT "&Name:",IDC_STATIC,22,11,19,8
556 EDITTEXT IDC_NAME,46,8,69,12,ES_AUTOHSCROLL
557 LTEXT "&Extension:",IDC_STATIC,10,25,34,8
558 EDITTEXT IDC_EXT,46,24,69,12,ES_AUTOHSCROLL
559 DEFPUSHBUTTON "OK",IDOK,33,43,34,14
560 PUSHBUTTON "Cancel",IDCANCEL,71,43,33,14
561 END
562  
147 roytam 563 #if !defined(TARGET_VER) || (defined(TARGET_VER) && TARGET_VER>350)
89 roytam 564 IDD_CONFIG DIALOGEX 0, 0, 287, 236
124 roytam 565 #else
566 IDD_CONFIG DIALOG 0, 0, 287, 236
567 #endif
89 roytam 568 STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
569 CAPTION "Config"
570 FONT 9, "MS Sans Serif"
571 BEGIN
572 GROUPBOX "Common",IDC_STATIC,7,7,273,106
147 roytam 573 RTEXT "&Undo:",IDC_STATIC,62,21,25,8
89 roytam 574 CONTROL "Infinite",IDC_UNDOLIM1,"Button",BS_AUTORADIOBUTTON |
575 WS_GROUP | WS_TABSTOP,88,20,33,10
576 CONTROL "",IDC_UNDOLIM2,"Button",BS_AUTORADIOBUTTON,124,20,11,8
577 EDITTEXT IDC_UNDO_CT,135,18,24,12,ES_AUTOHSCROLL | ES_NUMBER
578 LTEXT "times",IDC_STATIC,163,21,17,8
147 roytam 579 RTEXT "&Column by:",IDC_STATIC,46,33,40,8
89 roytam 580 CONTROL "Letters",IDC_COUNTBYLETTER,"Button",BS_AUTORADIOBUTTON |
147 roytam 581 WS_GROUP | WS_TABSTOP,88,33,33,10
89 roytam 582 CONTROL "Positions",IDC_COUNTBYLETTER2,"Button",
147 roytam 583 BS_AUTORADIOBUTTON | WS_TABSTOP,124,33,49,10
584 RTEXT "M&RU File Num:",IDC_STATIC,34,45,52,8
89 roytam 585 EDITTEXT IDC_LATEST_NUM,88,43,32,12,ES_AUTOHSCROLL | ES_NUMBER
147 roytam 586 RTEXT "TextFile &Filter:",IDC_STATIC,36,61,51,8
89 roytam 587 EDITTEXT IDC_TXTFILT,88,59,176,12,ES_AUTOHSCROLL
147 roytam 588 RTEXT "Extrenal &Grep Program:",IDC_STATIC,10,77,76,8
89 roytam 589 EDITTEXT IDC_EXTGREP,88,75,176,12,ES_AUTOHSCROLL
147 roytam 590 RTEXT "&New File Mode:",IDC_STATIC,34,92,53,8
89 roytam 591 COMBOBOX IDC_NEWCS,88,90,76,167,CBS_DROPDOWNLIST | WS_VSCROLL |
592 WS_TABSTOP
593 COMBOBOX IDC_NEWLB,166,90,39,166,CBS_DROPDOWNLIST | WS_VSCROLL |
594 WS_TABSTOP
595 COMBOBOX IDC_NEWDT,206,90,65,165,CBS_DROPDOWNLIST | WS_VSCROLL |
596 WS_TABSTOP
597 CONTROL "Open in Same &Window",IDC_OPENSAME,"Button",
147 roytam 598 BS_AUTOCHECKBOX | WS_TABSTOP,186,19,90,10
89 roytam 599 CONTROL "Remember Window &Size",IDC_REMSIZE,"Button",
147 roytam 600 BS_AUTOCHECKBOX | WS_TABSTOP,186,31,92,10
89 roytam 601 CONTROL "Remember Window &Pos",IDC_REMPLACE,"Button",
147 roytam 602 BS_AUTOCHECKBOX | WS_TABSTOP,186,43,90,10
89 roytam 603 GROUPBOX "Document Types",IDC_STATIC,6,118,274,92
604 LISTBOX IDC_DOCTYPELIST,14,133,89,53,LBS_NOINTEGRALHEIGHT |
605 WS_VSCROLL | WS_TABSTOP
606 PUSHBUTTON "Add",IDC_NEWDOCTYPE,17,191,29,14
607 PUSHBUTTON "Del",IDC_DELDOCTYPE,50,191,29,14
147 roytam 608 RTEXT "Pattern:",IDC_STATIC,117,138,27,8
89 roytam 609 EDITTEXT IDC_DT_PAT,149,135,123,12,ES_AUTOHSCROLL
147 roytam 610 RTEXT "Keyword:",IDC_STATIC,114,155,31,8
89 roytam 611 COMBOBOX IDC_PAT_KWD,149,152,72,172,CBS_DROPDOWNLIST | CBS_SORT |
612 CBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
613 PUSHBUTTON "edit",IDC_EDITKWD,229,151,19,14
147 roytam 614 RTEXT "Layout:",IDC_STATIC,118,172,28,8
89 roytam 615 COMBOBOX IDC_PAT_LAY,149,169,72,172,CBS_DROPDOWNLIST | CBS_SORT |
616 CBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
617 PUSHBUTTON "edit",IDC_EDITLAY,229,169,19,14
618 DEFPUSHBUTTON "OK",IDOK,175,215,50,14
619 PUSHBUTTON "Cancel",IDCANCEL,230,215,50,14
620 END
621  
622  
623 /////////////////////////////////////////////////////////////////////////////
624 //
625 // DESIGNINFO
626 //
627  
628 #ifdef APSTUDIO_INVOKED
629 GUIDELINES DESIGNINFO
630 BEGIN
631 IDD_JUMP, DIALOG
632 BEGIN
633 LEFTMARGIN, 7
634 RIGHTMARGIN, 124
635 TOPMARGIN, 7
636 BOTTOMMARGIN, 36
637 END
638  
639 IDD_FINDREPLACE, DIALOG
640 BEGIN
641 LEFTMARGIN, 7
642 RIGHTMARGIN, 275
643 TOPMARGIN, 7
644 BOTTOMMARGIN, 77
645 END
646  
647 IDD_ADDDOCTYPE, DIALOG
648 BEGIN
649 LEFTMARGIN, 7
650 RIGHTMARGIN, 116
651 TOPMARGIN, 7
652 BOTTOMMARGIN, 60
653 END
654  
655 IDD_CONFIG, DIALOG
656 BEGIN
657 LEFTMARGIN, 7
658 RIGHTMARGIN, 280
659 TOPMARGIN, 7
660 BOTTOMMARGIN, 229
661 END
662 END
663 #endif // APSTUDIO_INVOKED
664  
665  
666 /////////////////////////////////////////////////////////////////////////////
667 //
668 // String Table
669 //
670  
671 STRINGTABLE
672 BEGIN
673 IDS_ASKTOSAVE "Do you want to Save the current file ?"
674 IDS_APPNAME "GreenPad"
675 IDS_SAVEERROR "Could not save the file."
676 IDS_ALLFILES "All Files(*.*)"
677 IDS_TXTFILES "Text Files"
678 IDS_OPENERROR "Could not open the file."
679 IDS_DEFAULT "(default)"
680 IDS_NOTFOUND "Not Found."
681 IDS_REPLACEALLDONE "%d times Replaced."
682 IDS_OKTODEL " will be removed. OK?"
683 END
684  
685 #endif // ‰pŒê (•Ä‘) resources
686 /////////////////////////////////////////////////////////////////////////////