⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 demo5_5.h

📁 WINDOWS图形编程随书光盘
💻 H
字号:
  1 // Constants defined for Command menu
  2 
  3 #define IDM_CLEAR       100
  4 #define IDM_UNDO        110
  5 #define IDM_QUIT        120
  6 
  7 // Constants defined for Tool menu
  8 
  9 #define IDM_PENCIL      200
 10 #define IDM_LINE        210
 11 #define IDM_RECT_F      220
 12 #define IDM_RECT        221
 13 #define IDM_ELLIP_F     230
 14 #define IDM_ELLIP       231
 15 #define IDM_CIRCLE_F    240
 16 #define IDM_CIRCLE      241
 17 #define IDM_ROUNDRECT_F 250
 18 #define IDM_ROUNDRECT   251
 19 
 20 // Constants defined fpr Pen & Bruch menu
 21 
 22 #define IDM_CHOOSEPEN   260
 23 #define IDM_CHOOSEBRUSH 261
 24 
 25 // Constants defined for Button in Dialog Box
 26 
 27 #define DI_OK           280
 28 #define DI_CANCEL       281
 29 #define DI_ED           282
 30 #define DI_DEF          283
 31 
 32 // Constants defined for BRUSHDLG
 33 
 34 #define DI_BC01         301
 35 #define DI_BC02         302
 36 #define DI_BC03         303
 37 #define DI_BC04         304
 38 #define DI_BC05         305
 39 #define DI_BC06         306
 40 #define DI_BC07         307
 41 #define DI_BC08         308
 42 #define DI_BC09         309
 43 #define DI_BC10         310
 44 #define DI_BC11         311
 45 #define DI_BC12         312
 46 #define DI_BC13         313
 47 #define DI_BC14         314
 48 #define DI_BC15         315
 49 #define DI_BC16         316
 50 #define DI_BC17         317
 51 #define DI_BC18         318
 52 #define DI_BC19         319
 53 #define DI_BC20         320
 54 #define DI_BC21         321
 55 #define DI_BC22         322
 56 #define DI_BC23         323
 57 #define DI_BC24         324
 58 #define DI_BC25         325
 59 #define DI_BC26         326
 60 #define DI_BC27         327
 61 #define DI_BC28         328
 62 
 63 #define DI_H01          341
 64 #define DI_H02          342
 65 #define DI_H03          343
 66 #define DI_H04          344
 67 #define DI_H05          345
 68 #define DI_H06          346
 69 #define DI_H07          347
 70 
 71 #define DI_BGRAPH       360
 72 
 73 // Constants defined for PENDLG
 74 
 75 #define DI_PC01         401
 76 #define DI_PC02         402
 77 #define DI_PC03         403
 78 #define DI_PC04         404
 79 #define DI_PC05         405
 80 #define DI_PC06         406
 81 #define DI_PC07         407
 82 #define DI_PC08         408
 83 #define DI_PC09         409
 84 #define DI_PC10         410
 85 #define DI_PC11         411
 86 #define DI_PC12         412
 87 #define DI_PC13         413
 88 #define DI_PC14         414
 89 #define DI_PC15         415
 90 #define DI_PC16         416
 91 #define DI_PC17         417
 92 #define DI_PC18         418
 93 #define DI_PC19         419
 94 #define DI_PC20         420
 95 #define DI_PC21         421
 96 #define DI_PC22         422
 97 #define DI_PC23         423
 98 #define DI_PC24         424
 99 #define DI_PC25         425
100 #define DI_PC26         426
101 #define DI_PC27         427
102 #define DI_PC28         428
103 
104 #define DI_WIDTH        440
105 #define DI_STYLE        441
106 #define DI_PGRAPH       442
107 
108 // Constants defined for COLORDLG
109 
110 #define DI_SCR1         501
111 #define DI_SCR2         502
112 #define DI_SCR3         503
113 
114 #define DI_RESET        511
115 
116 #define DI_RVALUE       521
117 #define DI_GVALUE       522
118 #define DI_BVALUE       523
119 
120 #define DI_NEWCOLOR     531

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -