-
Notifications
You must be signed in to change notification settings - Fork 0
/
AES_LibExample.rc
230 lines (186 loc) · 12.7 KB
/
AES_LibExample.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#ifndef APSTUDIO_INVOKED
#include "targetver.h"
#endif
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (United States) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_AESIMPLEMENTATION ICON "AES_LibExample.ico"
IDI_SMALL ICON "small.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDC_AESIMPLEMENTATION MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "E&xit", IDOK
END
POPUP "&Help"
BEGIN
MENUITEM "&About ...", IDM_ABOUT
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDC_AESIMPLEMENTATION ACCELERATORS
BEGIN
"?", IDM_ABOUT, ASCII, ALT
"/", IDM_ABOUT, ASCII, ALT
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About AES_Implementation"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,14,14,20,20
LTEXT "AES_Implementation, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX
LTEXT "TANEL, Copyright (c) 2022",IDC_STATIC,42,26,114,8
DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 163
TOPMARGIN, 7
BOTTOMMARGIN, 55
END
END
#endif // APSTUDIO_INVOKED
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#ifndef APSTUDIO_INVOKED\r\n"
"#include ""targetver.h""\r\n"
"#endif\r\n"
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_APP_TITLE "AES_Implementation"
IDC_AESIMPLEMENTATION "AESIMPLEMENTATION"
END
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// Turkish (Turkey) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_TRK)
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_DIALOG1 DIALOGEX 0, 0, 447, 159
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | DS_CENTERMOUSE | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "AES Implementation"
MENU IDC_AESIMPLEMENTATION
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
PUSHBUTTON "File Open",IDC_BUTTONFOPEN,385,119,50,14
PUSHBUTTON "File Save",IDC_BUTTONFSAVE,385,135,50,14
PUSHBUTTON "Encrypt",IDC_BUTTONENCRYPT,385,73,50,14
PUSHBUTTON "Decrypt",IDC_BUTTONDECRYPT,385,90,50,14
EDITTEXT IDC_EDIT1,28,19,324,14,ES_AUTOHSCROLL
LTEXT "Key",IDC_STATIC,12,21,12,8
RADIOBUTTON "ASCII",IDC_RADIOASCII,29,51,34,10,BS_LEFTTEXT
RADIOBUTTON "HEX",IDC_RADIOHEX,69,51,29,10
GROUPBOX "Key Format",IDC_STATIC,27,38,74,28,BS_CENTER | WS_GROUP
GROUPBOX "AES Type",IDC_STATIC,232,38,147,29,BS_CENTER
RADIOBUTTON "ECB",IDC_RADIOECB,234,50,27,10
RADIOBUTTON "CBC",IDC_RADIOCBC,262,50,25,10
RADIOBUTTON "CTR",IDC_RADIOCTR,291,50,26,10
GROUPBOX "Key Size",IDC_STATIC,104,38,125,28,BS_CENTER
RADIOBUTTON "128 bit",IDC_RADIO128,108,50,38,10
RADIOBUTTON "192 bit",IDC_RADIO192,149,50,38,10
RADIOBUTTON "256 bit",IDC_RADIO256,189,50,38,10
LTEXT "File name",IDC_FNAME,30,97,350,11,SS_SUNKEN
LTEXT "Status",IDC_STATUS,29,120,351,14,SS_SUNKEN
LTEXT "0 / 16",IDC_COUNTER,353,23,27,8
EDITTEXT IDC_EDIT2,28,77,239,14,ES_AUTOHSCROLL | WS_DISABLED
LTEXT "IV",IDC_STATIC,12,79,8,8
LTEXT "0 / 32 (in HEX)",IDC_COUNTER2,274,80,53,8
CONTROL "OFB",IDC_RADIOOFB,"Button",BS_AUTORADIOBUTTON,321,50,28,10
CONTROL "CFB",IDC_RADIOCFB,"Button",BS_AUTORADIOBUTTON,351,50,25,10
PUSHBUTTON "Generate Key",IDC_BUTTONAUTOKEY,385,20,50,14
PUSHBUTTON "Generate IV",IDC_BUTTONAUTOIV,329,77,50,14
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_DIALOG1, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 440
TOPMARGIN, 7
BOTTOMMARGIN, 152
END
END
#endif // APSTUDIO_INVOKED
#endif // Turkish (Turkey) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED