-
Notifications
You must be signed in to change notification settings - Fork 0
/
Resource.rc
125 lines (104 loc) · 3.57 KB
/
Resource.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
//Microsoft App Studio generated resource script.
//
#include "Resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
/////////////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
//////////////////////////////////////////////////////////////////////////////
//
// Icon
//
IDI_APPICON ICON DISCARDABLE "APP.ICO"
//////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New\tCtrl+N", ID_FILE_NEW
MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN
MENUITEM "&Save\tCtrl+S", ID_FILE_SAVE, GRAYED
MENUITEM "&Save As...", ID_FILE_SAVEAS, GRAYED
MENUITEM SEPARATOR
MENUITEM "&Close\tCtrl+F4", ID_FILE_CLOSE, GRAYED
MENUITEM "&Close All", ID_FILE_CLOSEALL, GRAYED
MENUITEM SEPARATOR
MENUITEM "E&xit", ID_FILE_EXIT
END
POPUP "&Window", GRAYED
BEGIN
MENUITEM "&Tile\tShift+F5", ID_WINDOW_TILE
MENUITEM "&Cascade\tShift+F4", ID_WINDOW_CASCADE
MENUITEM "Arrange &Icons", ID_WINDOW_ARRANGE
END
POPUP "&Help"
BEGIN
MENUITEM "&About", ID_HELP_ABOUT
END
END
//////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTDIALOG DIALOG DISCARDABLE 0, 0, 147, 67
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 8, "MS Sans Serif"
BEGIN
ICON IDI_APPICON,IDC_STATIC,7,7,18,20
LTEXT "Win16 MDI Example application.",IDC_STATIC,34,7,98,8
LTEXT "\2512017 Transmission Zero",IDC_STATIC,34,17,86,8
DEFPUSHBUTTON "OK",IDOK,90,46,50,14,WS_GROUP
END
//////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDR_ACCELERATOR ACCELERATORS DISCARDABLE
BEGIN
"a", ID_HELP_ABOUT, ASCII, ALT, NOINVERT
"N", ID_FILE_NEW, VIRTKEY,CONTROL, NOINVERT
"O", ID_FILE_OPEN, VIRTKEY,CONTROL, NOINVERT
"S", ID_FILE_SAVE, VIRTKEY,CONTROL, NOINVERT
VK_F4, ID_WINDOW_CASCADE, VIRTKEY,SHIFT, NOINVERT
VK_F5, ID_WINDOW_TILE, VIRTKEY,SHIFT, NOINVERT
END
#ifdef APSTUDIO_INVOKED
//////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"Resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""Win16MDI.ver""\0"
END
/////////////////////////////////////////////////////////////////////////////////////
#endif // APSTUDIO_INVOKED
#ifndef APSTUDIO_INVOKED
////////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "Win16MDI.ver"
/////////////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED