|
|
1.1 root 1: // about2.dlg : Defines the main dialog for the About2 application
2: //
3: // This is a part of the Microsoft Foundation Classes C++ library.
4: // Copyright (C) 1992 Microsoft Corporation
5: // All rights reserved.
6: //
7: // This source code is only intended as a supplement to the
8: // Microsoft Foundation Classes Reference and Microsoft
9: // QuickHelp documentation provided with the library.
10: // See these sources for detailed information regarding the
11: // Microsoft Foundation Classes product.
12: //
13: // Based on the About2 application by Charles Petzold.
14: // The original application appeared in
15: // "Programming Windows", Second Edition (pp. 417-423),
16: // Copyright (C) 1990 Charles Petzold,
17: // published by Microsoft Press. Used with permission.
18:
19:
20: DLGINCLUDE RCDATA DISCARDABLE
21: BEGIN
22: "RESOURCE.H\0"
23: END
24:
25: ABOUTBOX DIALOG 20, 7, 140, 188
26: STYLE WS_POPUP | WS_CLIPSIBLINGS | WS_DLGFRAME
27: BEGIN
28: CTEXT "About2", -1, 0, 12, 140, 8
29: ICON "About2", -1, 8, 8, 0, 0
30: CTEXT "About Box Demo Program", -1, 4, 36, 130, 8
31: CTEXT "", IDD_PAINT, 68, 54, 60, 60
32: GROUPBOX "&Color", -1, 4, 50, 54, 112
33: RADIOBUTTON "&Black", IDD_BLACK, 8, 60, 40, 12, WS_GROUP |
34: WS_TABSTOP
35: RADIOBUTTON "B&lue", IDD_BLUE, 8, 72, 40, 12
36: RADIOBUTTON "&Green", IDD_GREEN, 8, 84, 40, 12
37: RADIOBUTTON "Cya&n", IDD_CYAN, 8, 96, 40, 12
38: RADIOBUTTON "&Red", IDD_RED, 8, 108, 40, 12
39: RADIOBUTTON "&Magenta", IDD_MAGENTA, 8, 120, 40, 12
40: RADIOBUTTON "&Yellow", IDD_YELLOW, 8, 132, 40, 12
41: RADIOBUTTON "&White", IDD_WHITE, 8, 144, 40, 12
42: GROUPBOX "&Figure", -1, 68, 120, 60, 40, WS_GROUP
43: RADIOBUTTON "Rec&tangle", IDD_RECT, 72, 134, 50, 12, WS_GROUP |
44: WS_TABSTOP
45: RADIOBUTTON "&Ellipse", IDD_ELL, 72, 146, 50, 12
46: DEFPUSHBUTTON "OK", IDM_ABOUT, 20, 168, 40, 14, WS_GROUP
47: PUSHBUTTON "Cancel", IDCANCEL, 80, 168, 40, 14, WS_GROUP
48: END
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.