|
|
1.1 root 1: // 1 pen control for feature test
2:
3: IDD_PENEDIT_FEATURES DIALOG 16, 16, 207, 72
4: STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
5: CAPTION "Sample PenEdit for playing with features"
6: FONT 8, "Helv"
7: BEGIN
8: CONTROL "", IDC_EDIT1, "hedit", ES_LEFT | ES_AUTOHSCROLL |
9: WS_BORDER | WS_TABSTOP, 5, 8, 143, 26
10: PUSHBUTTON "Configure", IDC_CONFIGURE, 156, 6, 45, 14
11: DEFPUSHBUTTON "Done", IDOK, 87, 52, 33, 14
12: END
13:
14: IDD_PENEDIT_CONFIGURE DIALOG 33, 32, 234, 100
15: STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
16: CAPTION "Configure PenEdit features"
17: FONT 8, "Helv"
18: BEGIN
19: GROUPBOX "Alphabetic Constraints (ALC)", -1, 6, 7, 105, 89
20: // buttons in the ALC group are based off of IDC_ALC_FIRST and must
21: // be in the same order as the ALC #defines
22: CONTROL "Lowercase Alpha", IDC_ALC_FIRST+0, "Button",
23: BS_AUTOCHECKBOX | WS_TABSTOP | WS_GROUP, 13, 19, 88, 10
24: CONTROL "Uppercase Alpha", IDC_ALC_FIRST+1, "Button",
25: BS_AUTOCHECKBOX, 13, 29, 88, 10
26: CONTROL "Numeric", IDC_ALC_FIRST+2, "Button",
27: BS_AUTOCHECKBOX, 13, 39, 88, 10
28: CONTROL "Punctuation", IDC_ALC_FIRST+3, "Button",
29: BS_AUTOCHECKBOX, 13, 49, 88, 10
30: CONTROL "Math", IDC_ALC_FIRST+4, "Button",
31: BS_AUTOCHECKBOX, 13, 69, 88, 10
32: CONTROL "Monetary", IDC_ALC_FIRST+5, "Button",
33: BS_AUTOCHECKBOX, 13, 59, 88, 10
34: CONTROL "Other", IDC_ALC_FIRST+6, "Button",
35: BS_AUTOCHECKBOX, 13, 79, 88, 10
36: CONTROL "Other", 1106, "Button", BS_AUTOCHECKBOX, 13, 79, 88, 10
37:
38: // ink drawing
39: GROUPBOX "Ink", -1, 115, 7, 73, 50
40: RTEXT "Width:", -1, 121, 21, 29, 8
41: EDITTEXT IDC_EDIT1, 155, 20, 22, 12
42: PUSHBUTTON "Choose Color", IDC_BUTTON2, 125, 39, 54, 14
43:
44: // other options
45: CONTROL "Left Handed", IDC_BUTTON1, "Button", BS_AUTOCHECKBOX |
46: WS_GROUP | WS_TABSTOP, 115, 67, 56, 10
47:
48: // misc
49: DEFPUSHBUTTON "OK", IDOK, 195, 6, 33, 14
50: PUSHBUTTON "Cancel", IDCANCEL, 195, 23, 33, 14
51: END
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.