added samples
[windows-sources.git] / sdk / samples / CrossTechnologySamples / SafePad / safepad / safepad.rc
blob894d6d73b0dd736a8a8a3d962d000fecb0f2405d
1 #include <winuser.h>
2 #include "resources.h"
3 // English (U.S.) resources
5 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
6 #ifdef _WIN32
7 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
8 #pragma code_page(1252)
9 #endif //_WIN32
11 #define IDM_NO_OP                  999  // used for disabled menu items
12 #define IDM_CRASH_APP      400
15 /////////////////////////////////////////////////////////////////////////////
17 // Icon
20 // Icon with lowest ID value placed first to ensure application icon
21 // remains consistent on all systems.
22 SAFEPAD                 ICON                    "Notepad Icon.ICO"
24 /////////////////////////////////////////////////////////////////////////////
26 // Menu
29 SAFEPAD MENUEX 
30 BEGIN
31     POPUP "&File",                          65535,MFT_STRING,MFS_ENABLED
32     BEGIN
33         MENUITEM "&New\tCtrl+N",                IDM_NEW,MFT_STRING,MFS_ENABLED
34         MENUITEM "&Open...\tCtrl+O",            IDM_OPEN,MFT_STRING,MFS_ENABLED
35         MENUITEM "&Save\tCtrl+S",               IDM_SAVE,MFT_STRING,MFS_ENABLED
36         MENUITEM "Save &As...",                 IDM_SAVEAS,MFT_STRING,MFS_GRAYED
37         MENUITEM MFT_SEPARATOR
38         MENUITEM "Page Set&up...",              IDM_NO_OP,MFT_STRING,MFS_GRAYED
39                 MENUITEM "&Print...\tCtrl-P",           IDM_NO_OP,MFT_STRING,MFS_GRAYED
40         MENUITEM MFT_SEPARATOR
41         MENUITEM "E&xit",                       IDM_EXIT,MFT_STRING,MFS_ENABLED
42     END
43     POPUP "&Edit",                          65535,MFT_STRING,MFS_ENABLED
44     BEGIN
45         MENUITEM "&Undo\tCtrl+Z",               IDM_UNDO,MFT_STRING,MFS_GRAYED
46         MENUITEM MFT_SEPARATOR
47         MENUITEM "Cu&t\tCtrl+X",                IDM_NO_OP,MFT_STRING,MFS_GRAYED
48         MENUITEM "&Copy\tCtrl+C",               IDM_NO_OP,MFT_STRING,MFS_GRAYED
49         MENUITEM "&Paste\tCtrl+V",              IDM_NO_OP,MFT_STRING,MFS_GRAYED
50                 MENUITEM "Delete\tDel",                                 IDM_NO_OP,MFT_STRING,MFS_GRAYED
51                 MENUITEM MFT_SEPARATOR        
52                 MENUITEM "Find\tCtrl+F",                                IDM_NO_OP,MFT_STRING,MFS_GRAYED
53                 MENUITEM "Find Next\tF3",                               IDM_NO_OP,MFT_STRING,MFS_GRAYED
54                 MENUITEM "Replace...\tCtrl+H",                  IDM_NO_OP,MFT_STRING,MFS_GRAYED
55                 MENUITEM "Go To...\tCtrl+G",                    IDM_NO_OP,MFT_STRING,MFS_GRAYED
56                 MENUITEM MFT_SEPARATOR        
57                 MENUITEM "Select All\tCtrl+A",                  IDM_NO_OP,MFT_STRING,MFS_GRAYED
58                 MENUITEM "Time/Date\tF5",                               IDM_NO_OP,MFT_STRING,MFS_GRAYED
59     END
60     POPUP "F&ormat",                                            65535,MFT_STRING,MFS_ENABLED
61     BEGIN
62         MENUITEM "Word Wrap",                                   IDM_NO_OP,MFT_STRING,MFS_GRAYED
63                 MENUITEM "Font...",                                             IDM_NO_OP,MFT_STRING,MFS_GRAYED
64         END
65         POPUP "&Help",                                                  65535,MFT_STRING,MFS_ENABLED
66     BEGIN
67                 MENUITEM "Help Topics",                                 IDM_NO_OP,MFT_STRING,MFS_GRAYED
68                 MENUITEM MFT_SEPARATOR
69         MENUITEM "&About SafePad...",           IDM_NO_OP,MFT_STRING,MFS_GRAYED
70     END
71     POPUP "&Special",                       65535,MFT_STRING,MFS_ENABLED
72     BEGIN
73         MENUITEM "&Crash Application",          IDM_CRASH_APP,MFT_STRING,MFS_GRAYED
74         MENUITEM "&Hang Application",           IDM_HANG_APP,MFT_STRING,MFS_GRAYED
75         MENUITEM MFT_SEPARATOR
76         MENUITEM "Application &Restart",         IDM_ENABLE_RESTART,MFT_STRING,MFS_ENABLED
77         MENUITEM "Document Reco&very",           IDM_ENABLE_RECOVERY,MFT_STRING,MFS_ENABLED
78         MENUITEM "&Error Reporting",             IDM_ENABLE_REPORTING,MFT_STRING,MFS_ENABLED
79     END
81 END
84 /////////////////////////////////////////////////////////////////////////////
86 // Accelerator
89 SAFEPAD ACCELERATORS 
90 BEGIN
91     VK_F1,          IDM_HELPCONTENTS,       VIRTKEY 
92     "?",            IDM_ABOUT,              ASCII,  ALT
93     "/",            IDM_ABOUT,              ASCII,  ALT
94 END
97 /////////////////////////////////////////////////////////////////////////////
99 // Version
102 1 VERSIONINFO
103  FILEVERSION 3,5,0,0
104  PRODUCTVERSION 3,5,0,0
105  FILEFLAGSMASK 0x3fL
106 #ifdef _DEBUG
107  FILEFLAGS 0xbL
108 #else
109  FILEFLAGS 0xaL
110 #endif
111  FILEOS 0x10001L
112  FILETYPE 0x1L
113  FILESUBTYPE 0x0L
114 BEGIN
115     BLOCK "StringFileInfo"
116     BEGIN
117         BLOCK "040904E4"
118         BEGIN
119             VALUE "CompanyName", "Microsoft Corporation"
120             VALUE "FileDescription", "SafePad"
121             VALUE "FileVersion", "0.0"
122             VALUE "InternalName", "SafePad"
123             VALUE "LegalCopyright", "Copyright (c) Microsoft Corporation."
124             VALUE "LegalTrademarks", "Microsoft(R) is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation"
125             VALUE "ProductName", "SafePad"
126             VALUE "ProductVersion", "3.6"
127         END
128         BLOCK "041104E4"
129         BEGIN
130             VALUE "CompanyName", "Microsoft Corporation"
131             VALUE "FileDescription", "SafePad"
132             VALUE "FileVersion", "0.0"
133             VALUE "InternalName", "SafePad"
134             VALUE "LegalCopyright", "Copyright (c) Microsoft Corporation."
135             VALUE "LegalTrademarks", "Microsoft(R) is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation"
136             VALUE "ProductName", "SafePad"
137             VALUE "ProductVersion", "3.6"
138         END
139     END
140     BLOCK "VarFileInfo"
141     BEGIN
142         VALUE "Translation", 0x409, 1252, 0x411, 1252
143     END
147 #ifdef APSTUDIO_INVOKED
148 /////////////////////////////////////////////////////////////////////////////
150 // TEXTINCLUDE
153 1 TEXTINCLUDE 
154 BEGIN
155     "r\0"
156     "e\0"
157     "s\0"
158     "o\0"
159     "u\0"
160     "r\0"
161     "c\0"
162     "e\0"
163     ".\0"
164     "h\0"
165     "\0"
166     "\0"
169 2 TEXTINCLUDE 
170 BEGIN
171     "\0"
172     "\0"
175 3 TEXTINCLUDE 
176 BEGIN
177     "\r\0"
178     "\n"
179     "\0"
180     "\0"
181     "\0"
184 #endif    // APSTUDIO_INVOKED
187 /////////////////////////////////////////////////////////////////////////////
189 // String Table
192 STRINGTABLE 
193 BEGIN
194     IDS_APP_TITLE           "Untitled - SafePad"
195     IDS_DISPLAYCHANGED      "Display Changed"
196     IDS_VER_INFO_LANG       "\\StringFileInfo\\040904E4\\"
197     IDS_VERSION_ERROR       "Error %lu"
198     IDS_NO_HELP             "Unable to activate help"
201 #endif    // English (U.S.) resources
202 /////////////////////////////////////////////////////////////////////////////
206 #ifndef APSTUDIO_INVOKED
207 /////////////////////////////////////////////////////////////////////////////
209 // Generated from the TEXTINCLUDE 3 resource.
213 /////////////////////////////////////////////////////////////////////////////
214 #endif    // not APSTUDIO_INVOKED