|
|
1.1 root 1: /******************************Module*Header*******************************\
2: * Module Name: res.rc
3: *
4: * Resource file for mdi
5: *
6: * Created: 24-Oct-1991 18:17:26
7: * Author: Petrus Wong
8: *
9: * Copyright (c) 1990 Microsoft Corporation
10: *
11: * Contains the Menu and the About dialog box resources
12: *
13: * Dependencies:
14: *
15: * windows.h
16: * mdi.h
17: *
18: \**************************************************************************/
19:
20: #include <windows.h>
21: #include "mdi.h"
22:
23: MainMenu MENU
24: BEGIN
25: POPUP "&Create"
26: BEGIN
27: MENUITEM "&MDI Child\t F10", MM_MDI
28: MENUITEM SEPARATOR
29: MENUITEM "&About ...", MM_ABOUT
30: END
31:
32: POPUP "&Window"
33: BEGIN
34: MENUITEM "&Cascade", IDM_CASCADE
35: MENUITEM "&Tile", IDM_TILE
36: MENUITEM "Arrange &Icons", IDM_ARRANGE
37: END
38: END
39:
40:
41: ChildMenu MENU
42: BEGIN
43: POPUP "&Create"
44: BEGIN
45: MENUITEM "&MDI Child\t F10", MM_MDI
46: MENUITEM SEPARATOR
47: MENUITEM "&About ...", MM_ABOUT
48: END
49:
50: POPUP "&Option"
51: BEGIN
52: MENUITEM "One\t F1", MM_OPT_1
53: MENUITEM "Two\t F2", MM_OPT_2
54: MENUITEM "Three\t F3", MM_OPT_3
55: MENUITEM "Four\t F4", MM_OPT_4
56: END
57:
58: POPUP "&Window"
59: BEGIN
60: MENUITEM "&Cascade", IDM_CASCADE
61: MENUITEM "&Tile", IDM_TILE
62: MENUITEM "Arrange &Icons", IDM_ARRANGE
63: END
64: END
65:
66: AboutBox DIALOG 16, 16, 192, 96
67: STYLE DS_MODALFRAME | WS_CAPTION | WS_VISIBLE
68: CAPTION "About"
69: BEGIN
70: CTEXT "Microsoft Windows" -1, 0, 8, 192, 8
71: CTEXT "MDI Demo" -1, 0, 24, 192, 8
72: CTEXT "Version 1.00" -1, 0, 40, 192, 8
73: DEFPUSHBUTTON "OK!", IDOK, 71, 60, 50, 14
74: END
75:
76: ACCEL_ID ACCELERATORS
77: BEGIN
78: VK_F10, MM_MDI, VIRTKEY
79: VK_F1, MM_OPT_1, VIRTKEY
80: VK_F2, MM_OPT_2, VIRTKEY
81: VK_F3, MM_OPT_3, VIRTKEY
82: VK_F4, MM_OPT_4, VIRTKEY
83: END
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.