|
|
1.1 ! root 1: /* mdi.rc : Defines the resources for the 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: */ ! 14: ! 15: #include <windows.h> ! 16: #include "resource.h" ! 17: ! 18: mdi ICON mdi.ico ! 19: hello ICON hello.ico ! 20: ! 21: MdiAccel ACCELERATORS ! 22: { ! 23: VK_F1, IDM_ABOUT, VIRTKEY ! 24: VK_F5, IDM_CASCADE, VIRTKEY, SHIFT ! 25: VK_F4, IDM_TILE, VIRTKEY, SHIFT ! 26: } ! 27: ! 28: MdiMenuInit MENU ! 29: { ! 30: POPUP "&File" ! 31: { ! 32: MENUITEM "New &Bounce", IDM_BOUNCE ! 33: MENUITEM "New &Hello", IDM_HELLO ! 34: MENUITEM SEPARATOR ! 35: MENUITEM "E&xit", IDM_EXIT ! 36: } ! 37: POPUP "&Help" ! 38: { ! 39: MENUITEM "&About MDI...\tF1", IDM_ABOUT ! 40: } ! 41: } ! 42: ! 43: MdiMenuHello MENU ! 44: { ! 45: POPUP "&File" ! 46: { ! 47: MENUITEM "New &Bounce", IDM_BOUNCE ! 48: MENUITEM "New &Hello", IDM_HELLO ! 49: MENUITEM SEPARATOR ! 50: MENUITEM "E&xit", IDM_EXIT ! 51: } ! 52: POPUP "&Color" ! 53: { ! 54: MENUITEM "&Black", IDM_BLACK ! 55: MENUITEM "&Red", IDM_RED ! 56: MENUITEM "&Green", IDM_GREEN ! 57: MENUITEM "B&lue", IDM_BLUE ! 58: MENUITEM "&White", IDM_WHITE ! 59: MENUITEM "&Custom...", IDM_CUSTOM ! 60: } ! 61: POPUP "&Window" ! 62: { ! 63: MENUITEM "&Cascade\tShift+F5", IDM_CASCADE ! 64: MENUITEM "&Tile\tShift+F4", IDM_TILE ! 65: MENUITEM "&Arrange &Icons", IDM_ARRANGE ! 66: } ! 67: POPUP "&Help" ! 68: { ! 69: MENUITEM "&About MDI...\tF1", IDM_ABOUT ! 70: } ! 71: } ! 72: ! 73: MdiMenuBounce MENU ! 74: { ! 75: POPUP "&File" ! 76: { ! 77: MENUITEM "New &Bounce", IDM_BOUNCE ! 78: MENUITEM "New &Hello", IDM_HELLO ! 79: MENUITEM SEPARATOR ! 80: MENUITEM "E&xit", IDM_EXIT ! 81: } ! 82: POPUP "&Color" ! 83: { ! 84: MENUITEM "&Black", IDM_BLACK ! 85: MENUITEM "&Red", IDM_RED ! 86: MENUITEM "&Green", IDM_GREEN ! 87: MENUITEM "B&lue", IDM_BLUE ! 88: MENUITEM "&White", IDM_WHITE ! 89: MENUITEM "&Custom...", IDM_CUSTOM ! 90: } ! 91: POPUP "&Speed" ! 92: { ! 93: MENUITEM "&Slow", IDM_SLOW ! 94: MENUITEM "&Fast", IDM_FAST ! 95: } ! 96: POPUP "&Window" ! 97: { ! 98: MENUITEM "&Cascade\tShift+F5", IDM_CASCADE ! 99: MENUITEM "&Tile\tShift+F4", IDM_TILE ! 100: MENUITEM "&Arrange &Icons", IDM_ARRANGE ! 101: } ! 102: POPUP "&Help" ! 103: { ! 104: MENUITEM "&About MDI...\tF1", IDM_ABOUT ! 105: } ! 106: } ! 107: ! 108: PrintDlgBox DIALOG 40, 40, 120, 40 ! 109: STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE ! 110: CAPTION "MDI:Chart" ! 111: { ! 112: CTEXT "Printing chart...", -1, 4, 6, 120, 12 ! 113: DEFPUSHBUTTON "Cancel", IDCANCEL, 44, 22, 32, 14, WS_GROUP ! 114: } ! 115: ! 116: rcinclude about.dlg
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.