-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwork1.rc
263 lines (224 loc) · 15.6 KB
/
work1.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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
// 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
#include "afxres.h"
#include "verrsrc.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// Chinese (Traditional, Taiwan) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT)
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
#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"
"#include ""afxres.h""\r\n"
"#include ""verrsrc.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
"#define _AFX_NO_OLE_RESOURCES\r\n"
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
"\r\n"
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT)\r\n"
"LANGUAGE 4, 1\r\n"
"#include ""res\\work1.rc2"" // 非 Microsoft Visual C++ 編輯過的資源\r\n"
"#include ""l.CHT\\afxres.rc"" // 標準元件\r\n"
"#if !defined(_AFXDLL)\r\n"
"#include ""l.CHT\\afxribbon.rc"" // MFC 功能區和控制列資源\r\n"
"#endif\r\n"
"#endif\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON "res\\work1.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "關於 work1"
FONT 9, "????", 0, 0, 0x1
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20
LTEXT "work1 1.0 版",IDC_STATIC,42,14,114,8,SS_NOPREFIX
LTEXT "Copyright (C) 2018",IDC_STATIC,42,26,114,8
DEFPUSHBUTTON "確定",IDOK,113,41,50,14,WS_GROUP
END
IDD_WORK1_DIALOG DIALOGEX 0, 0, 489, 372
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "Slider Motion"
FONT 9, "????", 0, 0, 0x1
BEGIN
PUSHBUTTON "Initialize",IDC_Initialize,12,299,54,21
EDITTEXT IDC_EDIT_L1,36,16,23,12,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_THETA1,315,20,27,12,ES_AUTOHSCROLL
LTEXT "L1 :",IDC_STATIC_L1,18,20,15,8
LTEXT "Theta1 :",IDC_STATIC_THETA1,287,23,26,12
PUSHBUTTON "Start",IDC_Start,12,320,54,28
LTEXT "RPM :",IDC_STATIC_RPM,63,20,27,8
EDITTEXT IDC_EDIT_RPM,94,16,20,12,ES_AUTOHSCROLL
LTEXT "Acc/Dec",IDC_STATIC_ACCDEC,63,35,33,8
EDITTEXT IDC_EDIT_SEC,94,32,20,12,ES_AUTOHSCROLL
LTEXT "r/min",IDC_STATIC_RMIN,118,18,18,8
LTEXT "sec",IDC_STATIC_SEC,118,34,13,8
PUSHBUTTON "Stop",IDC_Stop,66,299,48,49
LTEXT "L2 :",IDC_STATIC_L2,18,35,15,8
LTEXT "L3 :",IDC_STATIC_L3,18,49,14,8
LTEXT "L4 :",IDC_STATIC_L4,18,65,14,8
EDITTEXT IDC_EDIT_L2,36,32,23,12,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_L3,36,48,23,12,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_L4,36,64,23,12,ES_AUTOHSCROLL
LTEXT "Theta2 :",IDC_STATIC_THETA2,287,41,26,12
EDITTEXT IDC_EDIT_THETA2,315,39,27,12,ES_AUTOHSCROLL
LTEXT "Position1 :",IDC_STATIC_POSITION1,347,22,36,12
LTEXT "Position :",IDC_STATIC_POSITION2,347,41,36,12
EDITTEXT IDC_EDIT_POSITION1,387,20,20,12,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_POSITION2,387,39,20,12,ES_AUTOHSCROLL
CONTROL "",IDC_SLIDER1,"msctls_trackbar32",TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,164,20,122,17
CONTROL "",IDC_SLIDER2,"msctls_trackbar32",TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,164,37,122,20
LTEXT "H1 :",IDC_STATIC_H1,63,50,15,8
EDITTEXT IDC_EDIT_H1,80,48,16,12,ES_AUTOHSCROLL
LTEXT "H2 :",IDC_STATIC_H2,63,66,16,8
EDITTEXT IDC_EDIT_H2,79,64,17,12,ES_AUTOHSCROLL
GROUPBOX "Initial Values Of Angle",IDC_STATIC,158,7,268,53
GROUPBOX "Initial Values",IDC_STATIC,6,6,132,78
LTEXT "Omega(RPM) :",IDC_STATIC_OMEGA,163,72,48,8
LTEXT "Time :",IDC_STATIC12,239,72,26,8
EDITTEXT IDC_EDIT_OMEGA,212,70,20,12,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_TIME,266,70,20,12,ES_AUTOHSCROLL
GROUPBOX "MoveControl",IDC_STATIC,6,287,114,73
GROUPBOX "Current Omega And Time",IDC_STATIC,157,60,150,24
CONTROL "",IDC_IMG,"Static",SS_GRAYFRAME,131,291,342,72
END
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040404B0"
BEGIN
VALUE "CompanyName", "TODO: <公司名稱>"
VALUE "FileDescription", "work1"
VALUE "FileVersion", "1.0.0.1"
VALUE "InternalName", "work1.exe"
VALUE "LegalCopyright", "TODO: (c) <公司名稱>. 著作權所有,並保留一切權利。"
VALUE "OriginalFilename", "work1.exe"
VALUE "ProductName", "TODO: <產品名稱>"
VALUE "ProductVersion", "1.0.0.1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x404, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 163
TOPMARGIN, 7
BOTTOMMARGIN, 55
END
IDD_WORK1_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 482
TOPMARGIN, 7
BOTTOMMARGIN, 365
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
//
IDD_WORK1_DIALOG AFX_DIALOG_LAYOUT
BEGIN
0
END
/////////////////////////////////////////////////////////////////////////////
//
// Cursor
//
IDC_CURSOR1 CURSOR "res\\cursor1.cur"
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_ABOUTBOX "關於 work1(&A)..."
END
#endif // Chinese (Traditional, Taiwan) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT)
LANGUAGE 4, 1
#include "res\work1.rc2" // 非 Microsoft Visual C++ 編輯過的資源
#include "l.CHT\afxres.rc" // 標準元件
#if !defined(_AFXDLL)
#include "l.CHT\afxribbon.rc" // MFC 功能區和控制列資源
#endif
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED