📄 paint.h
字号:
1 // Constants defined for File menu
2
3 #define IDM_NEW 101
4 #define IDM_OPEN 102
5 #define IDM_SAVE 103
6 #define IDM_SAVEAS 104
7
8 #define IDM_PRINT 105
9 #define IDM_QUIT 106
10
11 // Constants defined for Edit menu
12
13 #define IDM_UNDO 161
14 #define IDM_COPY 162
15 #define IDM_PASTE 163
16 #define IDM_CUT 164
17
18 // Constants defined for Tool menu
19
20 #define IDM_PENCIL 200
21 #define IDM_LINE 201
22
23 #define IDM_BLOCK 202
24 #define IDM_TEXT 203
25 #define IDM_ERASE 204
26
27 #define IDM_RECT 210
28 #define IDM_ELLIP 211
29 #define IDM_CIRCLE 212
30 #define IDM_ROUNDRECT 213
31
32 #define IDM_RECT_F 220
33 #define IDM_ELLIP_F 221
34 #define IDM_CIRCLE_F 222
35 #define IDM_ROUNDRECT_F 223
36
37 // Constants defined fpr Pen & Bruch menu
38
39 #define IDM_CHOOSEPEN 260
40 #define IDM_CHOOSEBRUSH 261
41
42 // Constants defined for Button in Dialog Box
43
44 #define DI_OK 280
45 #define DI_CANCEL 281
46 #define DI_ED 282
47 #define DI_DEF 283
48
49 // Constants defined for BRUSHDLG
50
51 #define DI_BC01 301
52 #define DI_BC02 302
53 #define DI_BC03 303
54 #define DI_BC04 304
55 #define DI_BC05 305
56 #define DI_BC06 306
57 #define DI_BC07 307
58 #define DI_BC08 308
59 #define DI_BC09 309
60 #define DI_BC10 310
61 #define DI_BC11 311
62 #define DI_BC12 312
63 #define DI_BC13 313
64 #define DI_BC14 314
65 #define DI_BC15 315
66 #define DI_BC16 316
67 #define DI_BC17 317
68 #define DI_BC18 318
69 #define DI_BC19 319
70 #define DI_BC20 320
71 #define DI_BC21 321
72 #define DI_BC22 322
73 #define DI_BC23 323
74 #define DI_BC24 324
75 #define DI_BC25 325
76 #define DI_BC26 326
77 #define DI_BC27 327
78 #define DI_BC28 328
79
80 #define DI_H01 341
81 #define DI_H02 342
82 #define DI_H03 343
83 #define DI_H04 344
84 #define DI_H05 345
85 #define DI_H06 346
86 #define DI_H07 347
87
88 #define DI_BGRAPH 360
89
90 // Constants defined for PENDLG
91
92 #define DI_PC01 401
93 #define DI_PC02 402
94 #define DI_PC03 403
95 #define DI_PC04 404
96 #define DI_PC05 405
97 #define DI_PC06 406
98 #define DI_PC07 407
99 #define DI_PC08 408
100 #define DI_PC09 409
101 #define DI_PC10 410
102 #define DI_PC11 411
103 #define DI_PC12 412
104 #define DI_PC13 413
105 #define DI_PC14 414
106 #define DI_PC15 415
107 #define DI_PC16 416
108 #define DI_PC17 417
109 #define DI_PC18 418
110 #define DI_PC19 419
111 #define DI_PC20 420
112 #define DI_PC21 421
113 #define DI_PC22 422
114 #define DI_PC23 423
115 #define DI_PC24 424
116 #define DI_PC25 425
117 #define DI_PC26 426
118 #define DI_PC27 427
119 #define DI_PC28 428
120
121 #define DI_WIDTH 440
122 #define DI_STYLE 441
123 #define DI_PGRAPH 442
124
125 // Constants defined for COLORDLG
126
127 #define DI_SCR1 501
128 #define DI_SCR2 502
129 #define DI_SCR3 503
130
131 #define DI_RESET 511
132
133 #define DI_RVALUE 521
134 #define DI_GVALUE 522
135 #define DI_BVALUE 523
136
137 #define DI_NEWCOLOR 531
138
139 // Constants defined for OPENDLG
140
141 #define DI_NAME 601
142 #define DI_PATH 602
143 #define DI_FILES 603
144 #define DI_DIRS 604
145 #define DI_OPEN 605
146
147 #define FILEATTR 0x0000
148 #define DIRATTR 0xC010
149
150 // Constants defined for SAVEASDLG
151
152 #define DI_NAME2 611
153 #define DI_PATH2 612
154 #define DI_FILES2 613
155 #define DI_DIRS2 614
156 #define DI_SAVE 615
157
158 // Constants defined for maxinum number of font and size
159
160 #define MAXFACES 16
161 #define MAXSIZES 16
162
163 // Constants defined for Style menu
164
165 #define IDM_NORM 701
166 #define IDM_BOLD 702
167 #define IDM_ITALIC 703
168 #define IDM_UNDERLINE 704
169 #define IDM_STRIKEOUT 705
170
171 // Constants defined for Fonr & Size menu
172
173 #define IDM_FONT 710
174 #define IDM_SIZE (IDM_FONT + MAXFACES)
175
176 // Constants defined for SubMenu Pos
177
178 #define FONTMENU 4
179 #define SIZEMENU 5
180 #define STYLEMENU 6
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -