|
|
1.1 root 1: /*
2: OLE SERVER DEMO
3: SrvrDemo.rc
4:
5: This file contains the definitions for the Main window menu, the icon, and
6: the About Dialog Box.
7:
8: (c) Copyright Microsoft Corp. 1990 - 1992 All Rights Reserved
9: */
10:
11: #include "Windows.h"
12: #include "SrvrDemo.h"
13:
14: DocIcon ICON SrvrDemo.Ico
15:
16: MainMenu MENU
17: {
18: POPUP "&File"
19: {
20: MENUITEM "&New", IDM_NEW
21: MENUITEM "&Open...", IDM_OPEN
22: MENUITEM "&Save", IDM_SAVE
23: MENUITEM "Save &As...", IDM_SAVEAS
24: MENUITEM SEPARATOR
25: MENUITEM "E&xit", IDM_EXIT
26: MENUITEM SEPARATOR
27: MENUITEM "A&bout...", IDM_ABOUT
28: }
29:
30: POPUP "&Edit"
31: {
32: MENUITEM "Cu&t\tShift+Del", IDM_CUT
33: MENUITEM "&Copy\tCtrl+Ins", IDM_COPY
34: MENUITEM "&Delete\tDel", IDM_DELETE
35: }
36:
37: POPUP "&Color"
38: {
39: MENUITEM "&Red", IDM_RED
40: MENUITEM "&Green", IDM_GREEN
41: MENUITEM "&Blue", IDM_BLUE
42: MENUITEM "&White", IDM_WHITE
43: MENUITEM "Gr&ay", IDM_GRAY
44: MENUITEM "&Cyan", IDM_CYAN
45: MENUITEM "&Magenta", IDM_MAGENTA
46: MENUITEM "&Yellow", IDM_YELLOW
47: }
48:
49: POPUP "&Object"
50: {
51: MENUITEM "&New", IDM_NEWOBJ
52: MENUITEM "Ne&xt", IDM_NEXTOBJ
53: }
54:
55: }
56:
57: Accelerators ACCELERATORS
58: {
59: VK_DELETE, IDM_CUT, VIRTKEY, SHIFT
60: VK_INSERT, IDM_COPY, VIRTKEY, CONTROL
61: VK_DELETE, IDM_DELETE, VIRTKEY
62: }
63:
64: AboutBox DIALOG 22, 17, 160, 75
65: STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
66: CAPTION "About Server Demo"
67: {
68: CTEXT "Microsoft Windows" -1, 0, 5, 160, 8
69: CTEXT "OLE Server Application" -1, 0, 14, 160, 8
70: CTEXT "Version 1.0" -1, 0, 23, 160, 8
71: CTEXT "(c) Copyright Microsoft Corp. 1990 - 1992" -1, 0, 39, 160, 8
72: DEFPUSHBUTTON "OK" IDOK, 61, 59, 32, 14, WS_GROUP
73: }
74:
75: FailedUpdate DIALOG 6, 18, 251, 63
76: STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
77: CAPTION "Object Update"
78: FONT 8, "Helv"
79: BEGIN
80: DEFPUSHBUTTON "&Continue Editing", IDD_CONTINUEEDIT, 77, 36, 68, 14, WS_TABSTOP|WS_GROUP
81: PUSHBUTTON "Update && E&xit", IDD_UPDATEEXIT, 6, 36, 55, 14
82: LTEXT "Text", IDD_TEXT, 9, 9, 233, 20
83: END
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.