|
|
1.1 root 1: // 4 paredit controls in a dialog
2:
3: #include "paredit.h"
4:
5: IDD_WNDCLASS_EDIT DIALOG 16, 16, 176, 98
6: STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
7: CAPTION "Sample Dialog with 4 parsed edit controls"
8: FONT 8, "Helv"
9: BEGIN
10: LTEXT "Letters:", -1, 8, 9, 34, 8
11: CONTROL "", IDC_EDIT1, "paredit", WS_BORDER | WS_TABSTOP |
12: PES_LETTERS, 46, 7, 79, 12
13: LTEXT "Numbers:", -1, 8, 29, 34, 8
14: CONTROL "", IDC_EDIT2, "paredit", WS_BORDER | WS_TABSTOP |
15: PES_NUMBERS, 47, 27, 79, 12
16: LTEXT "Either:", -1, 8, 49, 34, 8
17: CONTROL "", IDC_EDIT3, "paredit", WS_BORDER | WS_TABSTOP |
18: PES_LETTERS | PES_NUMBERS, 47, 47, 79, 12
19: LTEXT "Anything:", -1, 8, 69, 34, 8
20: CONTROL "", IDC_EDIT4, "paredit", WS_BORDER | WS_TABSTOP |
21: PES_ALL, 47, 67, 79, 12
22: DEFPUSHBUTTON "Done", IDOK, 139, 6, 31, 14
23: END
24:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.