DEMO4_7.RC
资源名称:winpaint.zip [点击查看]
上传用户:cncajx
上传日期:2007-01-03
资源大小:190k
文件大小:2k
源码类别:
GDI/图象编程
开发平台:
Visual C++
- 1 #include "demo4_7.h"
- 2
- 3 Demo4_7 MENU
- 4 BEGIN
- 5 POPUP "&Command"
- 6 BEGIN
- 7 MENUITEM "&Clear", IDM_CLEAR
- 8 MENUITEM "&Quit", IDM_QUIT
- 9 END
- 10
- 11 POPUP "&Tool"
- 12 BEGIN
- 13 MENUITEM "&Line", IDM_LINE
- 14 MENUITEM "&Rectangle", IDM_RECT
- 15 END
- 16
- 17 POPUP "&Option"
- 18 BEGIN
- 19 MENUITEM "Choose Line", IDM_CHOOSE
- 20 END
- 21
- 22 END
- 23
- 24
- 25 CHOOSELINEDIALOG DIALOG 45, 59, 209, 81
- 26 CAPTION "ChooseLine"
- 27 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- 28 BEGIN
- 29 CONTROL "OK", DI_OK, "BUTTON",
- 30 BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE
- 31 | WS_GROUP | WS_TABSTOP, 65, 60, 24, 14
- 32 CONTROL "Cnacel", DI_CANCEL, "BUTTON",
- 33 BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE
- 34 | WS_GROUP | WS_TABSTOP, 112, 60, 33, 14
- 35 CONTROL "", DI_LINE1, "static", SS_SIMPLE
- 36 | WS_CHILD | WS_VISIBLE, 54, 13, 145, 8
- 37 CONTROL "", DI_LINE2, "static", SS_SIMPLE
- 38 | WS_CHILD | WS_VISIBLE, 54, 27, 145, 8
- 39 CONTROL "", DI_LINE3, "static", SS_SIMPLE
- 40 | WS_CHILD | WS_VISIBLE, 54, 40, 145, 8
- 41 CONTROL "", -1, "static", SS_BLACKFRAME
- 42 | WS_CHILD | WS_VISIBLE, 8, 7, 196, 46
- 43 CONTROL "Style1", DI_STYLE1, "BUTTON",
- 44 BS_AUTORADIOBUTTON | WS_CHILD
- 45 | WS_VISIBLE | WS_TABSTOP, 13, 11, 31, 11
- 46 CONTROL "Style2", DI_STYLE2, "BUTTON",
- 47 BS_AUTORADIOBUTTON | WS_CHILD
- 48 | WS_VISIBLE | WS_TABSTOP, 13, 24, 31, 13
- 49 CONTROL "Style3", DI_STYLE3, "BUTTON",
- 50 BS_AUTORADIOBUTTON | WS_CHILD
- 51 | WS_VISIBLE | WS_TABSTOP, 13, 38, 33, 12
- 52 END