Use One-Time Initialization for glyph run caching to avoid duplicate glyph run genera...
[gdipp.git] / gdipp_demo / gdipp_demo.rc
blob4706a87af5931fb66e157eb6c6e72b7288bde70e
1 // Microsoft Visual C++ generated resource script.\r
2 //\r
3 #include "resource.h"\r
4 \r
5 #define APSTUDIO_READONLY_SYMBOLS\r
6 /////////////////////////////////////////////////////////////////////////////\r
7 //\r
8 // Generated from the TEXTINCLUDE 2 resource.\r
9 //\r
10 #include "atlres.h"\r
12 /////////////////////////////////////////////////////////////////////////////\r
13 #undef APSTUDIO_READONLY_SYMBOLS\r
15 /////////////////////////////////////////////////////////////////////////////\r
16 // English (U.S.) resources\r
18 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r
19 #ifdef _WIN32\r
20 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US\r
21 #pragma code_page(1252)\r
22 #endif //_WIN32\r
24 #ifdef APSTUDIO_INVOKED\r
25 /////////////////////////////////////////////////////////////////////////////\r
26 //\r
27 // TEXTINCLUDE\r
28 //\r
30 1 TEXTINCLUDE \r
31 BEGIN\r
32     "resource.h\0"\r
33 END\r
35 2 TEXTINCLUDE \r
36 BEGIN\r
37     "#include ""atlres.h""\r\n"\r
38     "\0"\r
39 END\r
41 3 TEXTINCLUDE \r
42 BEGIN\r
43     "\0"\r
44 END\r
46 #endif    // APSTUDIO_INVOKED\r
49 /////////////////////////////////////////////////////////////////////////////\r
50 //\r
51 // Icon\r
52 //\r
54 // Icon with lowest ID value placed first to ensure application icon\r
55 // remains consistent on all systems.\r
56 IDR_MAINMENU            ICON                    "res\\gdipp_demo.ico"\r
58 /////////////////////////////////////////////////////////////////////////////\r
59 //\r
60 // Dialog\r
61 //\r
63 IDD_MAINDLG DIALOGEX 0, 0, 150, 10\r
64 STYLE DS_SETFONT | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU\r
65 CAPTION "gdipp Demo"\r
66 FONT 10, "Segoe UI", 400, 0, 0x0\r
67 BEGIN\r
68 END\r
70 IDD_ABOUTBOX DIALOGEX 0, 0, 200, 100\r
71 STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU\r
72 CAPTION "About"\r
73 FONT 8, "Tahoma", 400, 0, 0x0\r
74 BEGIN\r
75     DEFPUSHBUTTON   "OK",IDOK,131,80,60,15\r
76     CTEXT           "gdipp Demo\n[Current Version]\n\n(c) Copyright 2010",IDC_STATIC,25,57,78,32\r
77     ICON            IDR_MAINMENU,IDC_STATIC,55,26,20,20\r
78     GROUPBOX        "",IDC_STATIC,7,5,115,90\r
79     EDITTEXT        IDC_EDIT,130,9,62,15,ES_AUTOHSCROLL\r
80 END\r
82 IDD_PAINTDLG DIALOGEX 0, 0, 400, 300\r
83 STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU\r
84 EXSTYLE WS_EX_TOOLWINDOW\r
85 CAPTION "Paint"\r
86 FONT 8, "Tahoma", 400, 0, 0x1\r
87 BEGIN\r
88 END\r
91 /////////////////////////////////////////////////////////////////////////////\r
92 //\r
93 // Version\r
94 //\r
96 VS_VERSION_INFO VERSIONINFO\r
97  FILEVERSION 1,0,0,0\r
98  PRODUCTVERSION 1,0,0,0\r
99  FILEFLAGSMASK 0x3fL\r
100 #ifdef _DEBUG\r
101  FILEFLAGS 0x1L\r
102 #else\r
103  FILEFLAGS 0x0L\r
104 #endif\r
105  FILEOS 0x4L\r
106  FILETYPE 0x2L\r
107  FILESUBTYPE 0x0L\r
108 BEGIN\r
109     BLOCK "StringFileInfo"\r
110     BEGIN\r
111         BLOCK "040904e4"\r
112         BEGIN\r
113             VALUE "CompanyName", "gdipp Project"\r
114             VALUE "FileDescription", "gdipp Demo"\r
115             VALUE "FileVersion", "1, 0, 0, 0"\r
116             VALUE "InternalName", "gdipp_demo"\r
117             VALUE "LegalCopyright", "Copyright (C) gdipp Project 2010"\r
118             VALUE "OriginalFilename", "gdipp_demo.exe"\r
119             VALUE "ProductName", "gdipp Demo"\r
120             VALUE "ProductVersion", "1, 0, 0, 0"\r
121         END\r
122     END\r
123     BLOCK "VarFileInfo"\r
124     BEGIN\r
125         VALUE "Translation", 0x409, 1252\r
126     END\r
127 END\r
130 /////////////////////////////////////////////////////////////////////////////\r
131 //\r
132 // Menu\r
133 //\r
135 IDR_MAINMENU MENU \r
136 BEGIN\r
137     POPUP "&File"\r
138     BEGIN\r
139         MENUITEM "E&xit",                       ID_APP_EXIT\r
140     END\r
141     POPUP "Tools"\r
142     BEGIN\r
143         MENUITEM "Load client",                 ID_TOOLS_LOAD\r
144         MENUITEM "Unload client",               ID_TOOLS_UNLOAD\r
145     END\r
146     POPUP "&Help"\r
147     BEGIN\r
148         MENUITEM "&About gdipp Demo...",        ID_APP_ABOUT\r
149     END\r
150 END\r
152 IDR_PAINTMENU MENU \r
153 BEGIN\r
154     POPUP "Tools"\r
155     BEGIN\r
156         MENUITEM "Stop painting",               ID_TOOLS_STOP\r
157     END\r
158 END\r
161 /////////////////////////////////////////////////////////////////////////////\r
162 //\r
163 // String Table\r
164 //\r
166 STRINGTABLE \r
167 BEGIN\r
168     IDR_MAINMENU            "gdipp_demo"\r
169 END\r
171 STRINGTABLE \r
172 BEGIN\r
173     ID_FILE_NEW             "Create a new document\nNew"\r
174     ID_FILE_OPEN            "Open an existing document\nOpen"\r
175     ID_FILE_CLOSE           "Close the active document\nClose"\r
176     ID_FILE_SAVE            "Save the active document\nSave"\r
177     ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"\r
178     ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"\r
179     ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"\r
180     ID_FILE_PRINT           "Print the active document\nPrint"\r
181     ID_FILE_PRINT_PREVIEW   "Display full pages\nPrint Preview"\r
182 END\r
184 STRINGTABLE \r
185 BEGIN\r
186     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"\r
187     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"\r
188 END\r
190 STRINGTABLE \r
191 BEGIN\r
192     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"\r
193     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"\r
194 END\r
196 STRINGTABLE \r
197 BEGIN\r
198     ID_WINDOW_NEW           "Open another window for the active document\nNew Window"\r
199     ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the window\nArrange Icons"\r
200     ID_WINDOW_CASCADE       "Arrange windows so they overlap\nCascade Windows"\r
201     ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tiles\nTile Windows"\r
202     ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tiles\nTile Windows"\r
203     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"\r
204 END\r
206 STRINGTABLE \r
207 BEGIN\r
208     ID_EDIT_CLEAR           "Erase the selection\nErase"\r
209     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"\r
210     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"\r
211     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"\r
212     ID_EDIT_FIND            "Find the specified text\nFind"\r
213     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"\r
214     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"\r
215     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"\r
216     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"\r
217     ID_EDIT_UNDO            "Undo the last action\nUndo"\r
218     ID_EDIT_REDO            "Redo the previously undone action\nRedo"\r
219 END\r
221 STRINGTABLE \r
222 BEGIN\r
223     ATL_IDS_SCSIZE          "Change the window size"\r
224     ATL_IDS_SCMOVE          "Change the window position"\r
225     ATL_IDS_SCMINIMIZE      "Reduce the window to an icon"\r
226     ATL_IDS_SCMAXIMIZE      "Enlarge the window to full size"\r
227     ATL_IDS_SCNEXTWINDOW    "Switch to the next document window"\r
228     ATL_IDS_SCPREVWINDOW    "Switch to the previous document window"\r
229     ATL_IDS_SCCLOSE         "Close the active window and prompts to save the documents"\r
230 END\r
232 STRINGTABLE \r
233 BEGIN\r
234     ATL_IDS_SCRESTORE       "Restore the window to normal size"\r
235     ATL_IDS_SCTASKLIST      "Activate Task List"\r
236     ATL_IDS_MDICHILD        "Activate this window"\r
237 END\r
239 STRINGTABLE \r
240 BEGIN\r
241     ATL_IDS_IDLEMESSAGE     "Ready"\r
242 END\r
244 STRINGTABLE \r
245 BEGIN\r
246     ATL_IDS_MRU_FILE        "Open this document"\r
247 END\r
249 #endif    // English (U.S.) resources\r
250 /////////////////////////////////////////////////////////////////////////////\r