PageRenderTime 25ms CodeModel.GetById 21ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/3rd_party/wtl/AppWiz/Files/Templates/1033/root.rc

https://code.google.com/p/softart/
Unknown | 534 lines | 479 code | 55 blank | 0 comment | 0 complexity | e0112dde8cdc5d7592a7ce00fc3a7b3a MD5 | raw file
Possible License(s): LGPL-2.1, BSD-3-Clause, JSON, MPL-2.0-no-copyleft-exception, GPL-2.0, GPL-3.0, LGPL-3.0, BSD-2-Clause
  1// Microsoft Visual C++ generated resource script.
  2//
  3#include "resource.h"
  4
  5#define APSTUDIO_READONLY_SYMBOLS
  6/////////////////////////////////////////////////////////////////////////////
  7//
  8// Generated from the TEXTINCLUDE 2 resource.
  9//
 10#include "atlres.h"
 11[!if WTL_USE_RIBBON]
 12#include "Ribbon.h"
 13[!endif]
 14
 15/////////////////////////////////////////////////////////////////////////////
 16#undef APSTUDIO_READONLY_SYMBOLS
 17
 18/////////////////////////////////////////////////////////////////////////////
 19// English (U.S.) resources
 20
 21#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
 22#ifdef _WIN32
 23LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
 24#pragma code_page(1252)
 25#endif //_WIN32
 26
 27#ifdef APSTUDIO_INVOKED
 28/////////////////////////////////////////////////////////////////////////////
 29//
 30// TEXTINCLUDE
 31//
 32
 331 TEXTINCLUDE 
 34BEGIN
 35    "resource.h\0"
 36END
 37
 382 TEXTINCLUDE 
 39BEGIN
 40    "#include ""atlres.h""\r\n"
 41[!if WTL_USE_RIBBON]
 42    "#include ""Ribbon.h""\r\n"
 43[!endif]
 44    "\0"
 45END
 46
 473 TEXTINCLUDE 
 48BEGIN
 49[!if WTL_COM_SERVER]
 50    "1 TYPELIB ""[!output PROJECT_NAME].tlb""\r\n"
 51[!endif]
 52[!if WTL_USE_MANIFEST]
 53    "CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST ""res\\\\[!output PROJECT_NAME].exe.manifest""\r\n"
 54[!endif]
 55[!if WTL_USE_RIBBON]
 56    "#include ""Ribbon.rc""\r\n"
 57[!endif]
 58    "\0"
 59END
 60
 61#endif    // APSTUDIO_INVOKED
 62
 63
 64[!if !WTL_APPTYPE_DLG]
 65[!if WTL_USE_TOOLBAR || WTL_USE_RIBBON]
 66/////////////////////////////////////////////////////////////////////////////
 67//
 68// Toolbar
 69//
 70
 71IDR_MAINFRAME TOOLBAR  16, 15
 72BEGIN
 73    BUTTON      ID_FILE_NEW
 74    BUTTON      ID_FILE_OPEN
 75    BUTTON      ID_FILE_SAVE
 76    SEPARATOR
 77    BUTTON      ID_EDIT_CUT
 78    BUTTON      ID_EDIT_COPY
 79    BUTTON      ID_EDIT_PASTE
 80    SEPARATOR
 81    BUTTON      ID_FILE_PRINT
 82    BUTTON      ID_APP_ABOUT
 83END
 84
 85
 86/////////////////////////////////////////////////////////////////////////////
 87//
 88// Bitmap
 89//
 90
 91IDR_MAINFRAME           BITMAP                  "res\\Toolbar.bmp"
 92
 93[!endif]
 94/////////////////////////////////////////////////////////////////////////////
 95//
 96// Menu
 97//
 98
 99[!if !WTL_APPTYPE_MDI]
100IDR_MAINFRAME MENU 
101BEGIN
102    POPUP "&File"
103    BEGIN
104        MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
105        MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
106        MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
107        MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
108[!if WTL_APPTYPE_MTSDI]
109        MENUITEM SEPARATOR
110        MENUITEM "New &Window",                 ID_FILE_NEW_WINDOW
111[!endif]
112        MENUITEM SEPARATOR
113        MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
114        MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
115        MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
116        MENUITEM SEPARATOR
117        MENUITEM "E&xit",                       ID_APP_EXIT
118    END
119    POPUP "&Edit"
120    BEGIN
121        MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
122        MENUITEM SEPARATOR
123        MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
124        MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
125        MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
126    END
127[!if WTL_USE_TOOLBAR || WTL_USE_STATUSBAR || WTL_RIBBON_DUAL_UI || WTL_APPTYPE_EXPLORER]
128    POPUP "&View"
129    BEGIN
130[!if WTL_USE_RIBBON]
131        MENUITEM "&Ribbon",                     ID_VIEW_RIBBON
132[!endif]
133[!if WTL_USE_TOOLBAR]
134        MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
135[!endif]
136[!if WTL_USE_STATUSBAR]
137        MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
138[!endif]
139[!if WTL_APPTYPE_EXPLORER]
140        MENUITEM "Tree &Pane",                  ID_VIEW_TREEPANE
141[!endif]
142    END
143[!endif]
144[!if WTL_APPTYPE_TABVIEW]
145    POPUP "&Window"
146    BEGIN
147        MENUITEM "&Close\tCtrl+F4",             ID_WINDOW_CLOSE
148        MENUITEM "Close &All",                  ID_WINDOW_CLOSE_ALL
149    END
150[!endif]
151    POPUP "&Help"
152    BEGIN
153        MENUITEM "&About [!output PROJECT_NAME]",              ID_APP_ABOUT
154    END
155END
156
157[!else]
158IDR_MAINFRAME MENU 
159BEGIN
160    POPUP "&File"
161    BEGIN
162        MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
163        MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
164        MENUITEM SEPARATOR
165        MENUITEM "E&xit",                       ID_APP_EXIT
166    END
167[!if WTL_USE_TOOLBAR || WTL_USE_STATUSBAR]
168    POPUP "&View"
169    BEGIN
170[!if WTL_USE_TOOLBAR]
171        MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
172[!endif]
173[!if WTL_USE_STATUSBAR]
174        MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
175[!endif]
176    END
177[!endif]
178    POPUP "&Help"
179    BEGIN
180        MENUITEM "&About [!output PROJECT_NAME]",          ID_APP_ABOUT
181    END
182END
183
184IDR_MDICHILD MENU 
185BEGIN
186    POPUP "&File"
187    BEGIN
188        MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
189        MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
190        MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
191        MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
192        MENUITEM SEPARATOR
193        MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
194        MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
195        MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
196        MENUITEM SEPARATOR
197        MENUITEM "E&xit",                       ID_APP_EXIT
198    END
199    POPUP "&Edit"
200    BEGIN
201        MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
202        MENUITEM SEPARATOR
203        MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
204        MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
205        MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
206    END
207[!if WTL_USE_TOOLBAR || WTL_USE_STATUSBAR]
208    POPUP "&View"
209    BEGIN
210[!if WTL_USE_TOOLBAR]
211        MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
212[!endif]
213[!if WTL_USE_STATUSBAR]
214        MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
215[!endif]
216    END
217[!endif]
218    POPUP "&Window"
219    BEGIN
220        MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
221        MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
222        MENUITEM "Arrange &Icons",              ID_WINDOW_ARRANGE
223    END
224    POPUP "&Help"
225    BEGIN
226        MENUITEM "&About [!output PROJECT_NAME]",          ID_APP_ABOUT
227    END
228END
229
230[!endif]
231[!endif]
232/////////////////////////////////////////////////////////////////////////////
233//
234// Icon
235//
236
237// Icon with lowest ID value placed first to ensure application icon
238// remains consistent on all systems.
239IDR_MAINFRAME           ICON                    "res\\[!output PROJECT_NAME].ico"
240[!if WTL_APPTYPE_MDI]
241IDR_MDICHILD            ICON                    "res\\[!output PROJECT_NAME]Doc.ico"
242[!endif]
243
244/////////////////////////////////////////////////////////////////////////////
245//
246// Dialog
247//
248
249IDD_ABOUTBOX DIALOG  0, 0, 187, 102
250STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
251CAPTION "About"
252FONT 8, "MS Shell Dlg"
253BEGIN
254    DEFPUSHBUTTON   "OK",IDOK,130,81,50,14
255    CTEXT           "[!output PROJECT_NAME] Application v1.0\n\n(c) Copyright [!output WTL_CURRENT_YEAR]",IDC_STATIC,25,57,78,
256                    32
257    ICON            IDR_MAINFRAME,IDC_STATIC,55,26,18,20
258    GROUPBOX        "",IDC_STATIC,7,7,115,88
259END
260
261[!if WTL_APPTYPE_DLG]
262IDD_MAINDLG DIALOG  0, 0, 187, 98
263STYLE WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU
264CAPTION "[!output PROJECT_NAME]"
265FONT 8, "MS Shell Dlg"
266BEGIN
267    DEFPUSHBUTTON   "OK",IDOK,130,7,50,14
268    PUSHBUTTON      "Cancel",IDCANCEL,130,24,50,14
269    PUSHBUTTON      "&About",ID_APP_ABOUT,130,77,50,14
270END
271
272[!endif]
273[!if WTL_VIEWTYPE_FORM]
274IDD_[!output UPPERCASE_SAFE_PROJECT_NAME]_FORM DIALOGEX 0, 0, 185, 93
275STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS
276EXSTYLE WS_EX_CLIENTEDGE
277FONT 8, "MS Shell Dlg"
278BEGIN
279	LTEXT	"TODO: Place form controls on this dialog.",IDC_STATIC,24,42,
280		136,8
281END
282
283[!endif]
284
285
286
287/////////////////////////////////////////////////////////////////////////////
288//
289// DESIGNINFO
290//
291
292#ifdef APSTUDIO_INVOKED
293GUIDELINES DESIGNINFO 
294BEGIN
295    IDD_ABOUTBOX, DIALOG
296    BEGIN
297        LEFTMARGIN, 7
298        RIGHTMARGIN, 180
299        TOPMARGIN, 7
300        BOTTOMMARGIN, 95
301    END
302[!if WTL_APPTYPE_DLG]
303
304    IDD_MAINDLG, DIALOG
305    BEGIN
306        LEFTMARGIN, 7
307        RIGHTMARGIN, 180
308        TOPMARGIN, 7
309        BOTTOMMARGIN, 91
310    END
311[!endif]
312[!if WTL_VIEWTYPE_FORM]
313
314    IDD_[!output UPPERCASE_SAFE_PROJECT_NAME]_FORM, DIALOG
315    BEGIN
316        LEFTMARGIN, 7
317        RIGHTMARGIN, 178
318        TOPMARGIN, 7
319        BOTTOMMARGIN, 86
320    END
321[!endif]
322END
323#endif    // APSTUDIO_INVOKED
324
325
326/////////////////////////////////////////////////////////////////////////////
327//
328// Accelerator
329//
330
331IDR_MAINFRAME ACCELERATORS 
332BEGIN
333    "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
334    "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
335    "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
336    "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
337[!if !WTL_VIEWTYPE_FORM]
338    "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
339    "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
340    "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
341    "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
342    VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
343    VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
344    VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
345    VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
346[!endif]
347    VK_F6,          ID_NEXT_PANE,           VIRTKEY 
348    VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
349END
350
351
352/////////////////////////////////////////////////////////////////////////////
353//
354// Version
355//
356
357VS_VERSION_INFO VERSIONINFO
358 FILEVERSION 1,0,0,1
359 PRODUCTVERSION 1,0,0,1
360 FILEFLAGSMASK 0x3fL
361#ifdef _DEBUG
362 FILEFLAGS 0x1L
363#else
364 FILEFLAGS 0x0L
365#endif
366 FILEOS 0x4L
367 FILETYPE 0x2L
368 FILESUBTYPE 0x0L
369BEGIN
370    BLOCK "StringFileInfo"
371    BEGIN
372        BLOCK "040904B0"
373        BEGIN
374            VALUE "CompanyName", "\0"
375            VALUE "FileDescription", "[!output PROJECT_NAME] Module\0"
376            VALUE "FileVersion", "1, 0, 0, 1\0"
377            VALUE "InternalName", "[!output PROJECT_NAME]\0"
378            VALUE "LegalCopyright", "Copyright [!output WTL_CURRENT_YEAR]\0"
379            VALUE "OriginalFilename", "[!output PROJECT_NAME].exe\0"
380            VALUE "ProductName", "[!output PROJECT_NAME] Module\0"
381            VALUE "ProductVersion", "1, 0, 0, 1\0"
382[!if WTL_COM_SERVER]
383            VALUE "OLESelfRegister", "\0"
384[!endif]
385        END
386    END
387    BLOCK "VarFileInfo"
388    BEGIN
389        VALUE "Translation", 0x0409, 0x04B0
390    END
391END
392
393/////////////////////////////////////////////////////////////////////////////
394//
395// String Table
396//
397
398STRINGTABLE 
399BEGIN
400    IDR_MAINFRAME	"[!output PROJECT_NAME]"
401[!if WTL_APPTYPE_MDI]
402    IDR_MDICHILD        "Document"
403[!endif]
404END
405
406STRINGTABLE 
407BEGIN
408    ID_FILE_NEW             "Create a new document\nNew"
409    ID_FILE_OPEN            "Open an existing document\nOpen"
410    ID_FILE_CLOSE           "Close the active document\nClose"
411    ID_FILE_SAVE            "Save the active document\nSave"
412    ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
413    ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"
414    ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"
415    ID_FILE_PRINT           "Print the active document\nPrint"
416    ID_FILE_PRINT_PREVIEW   "Display full pages\nPrint Preview"
417END
418
419STRINGTABLE 
420BEGIN
421    ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
422    ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
423END
424
425STRINGTABLE 
426BEGIN
427    ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
428    ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
429END
430
431STRINGTABLE 
432BEGIN
433    ID_WINDOW_NEW           "Open another window for the active document\nNew Window"
434    ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the window\nArrange Icons"
435    ID_WINDOW_CASCADE       "Arrange windows so they overlap\nCascade Windows"
436    ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tiles\nTile Windows"
437    ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tiles\nTile Windows"
438    ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
439END
440
441STRINGTABLE 
442BEGIN
443    ID_EDIT_CLEAR           "Erase the selection\nErase"
444    ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
445    ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
446    ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
447    ID_EDIT_FIND            "Find the specified text\nFind"
448    ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
449    ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
450    ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
451    ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
452    ID_EDIT_UNDO            "Undo the last action\nUndo"
453    ID_EDIT_REDO            "Redo the previously undone action\nRedo"
454END
455
456[!if WTL_USE_TOOLBAR || WTL_USE_STATUSBAR || WTL_RIBBON_DUAL_UI]
457STRINGTABLE 
458BEGIN
459[!if WTL_USE_TOOLBAR]
460    ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
461[!endif]
462[!if WTL_USE_STATUSBAR]
463    ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
464[!endif]
465[!if WTL_USE_RIBBON]
466    ID_VIEW_RIBBON          "Show or hide the ribbon\nToggle Ribbon"
467[!endif]
468END
469
470[!endif]
471STRINGTABLE 
472BEGIN
473    ATL_IDS_SCSIZE          "Change the window size"
474    ATL_IDS_SCMOVE          "Change the window position"
475    ATL_IDS_SCMINIMIZE      "Reduce the window to an icon"
476    ATL_IDS_SCMAXIMIZE      "Enlarge the window to full size"
477    ATL_IDS_SCNEXTWINDOW    "Switch to the next document window"
478    ATL_IDS_SCPREVWINDOW    "Switch to the previous document window"
479    ATL_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
480END
481
482STRINGTABLE 
483BEGIN
484    ATL_IDS_SCRESTORE       "Restore the window to normal size"
485    ATL_IDS_SCTASKLIST      "Activate Task List"
486    ATL_IDS_MDICHILD        "Activate this window"
487END
488
489STRINGTABLE 
490BEGIN
491    ATL_IDS_IDLEMESSAGE     "Ready"
492    ATL_IDS_MRU_FILE        "Open this document"
493END
494
495[!if WTL_COM_SERVER]
496STRINGTABLE 
497BEGIN
498	IDS_PROJNAME        "[!output PROJECT_NAME]"
499END
500
501[!endif]
502[!if WTL_APPTYPE_MTSDI]
503STRINGTABLE 
504BEGIN
505	ID_FILE_NEW_WINDOW  "Open a new window\nNew Window"
506END
507
508[!endif]
509#endif    // English (U.S.) resources
510/////////////////////////////////////////////////////////////////////////////
511
512[!if WTL_COM_SERVER]
513IDR_[!output UPPERCASE_SAFE_PROJECT_NAME] REGISTRY "[!output PROJECT_NAME].rgs"
514[!endif]
515
516#ifndef APSTUDIO_INVOKED
517[!if WTL_COM_SERVER || WTL_USE_MANIFEST || WTL_USE_RIBBON]
518/////////////////////////////////////////////////////////////////////////////
519//
520// Generated from the TEXTINCLUDE 3 resource.
521//
522[!if WTL_COM_SERVER]
5231 TYPELIB "[!output PROJECT_NAME].tlb"
524[!endif]
525[!if WTL_USE_MANIFEST]
526CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "res\\[!output PROJECT_NAME].exe.manifest"
527[!endif]
528[!if WTL_USE_RIBBON]
529#include "Ribbon.rc"
530[!endif]
531
532/////////////////////////////////////////////////////////////////////////////
533[!endif]
534#endif    // not APSTUDIO_INVOKED