|
|
1.1 ! root 1: /**************************************************************************** ! 2: * * ! 3: * FILE : Menu.rc * ! 4: * * ! 5: * DESCRIPTION : Resource script file for the Menu Example application. * ! 6: * * ! 7: ****************************************************************************/ ! 8: #include "windows.h" ! 9: #include "menu.h" ! 10: ! 11: checkon BITMAP checkon.bmp ! 12: checkoff BITMAP checkoff.bmp ! 13: menu ICON menu.ico ! 14: ! 15: #include "menu.dlg" ! 16: ! 17: MenuMenu MENU ! 18: BEGIN ! 19: POPUP "&File" ! 20: BEGIN ! 21: MENUITEM "&Exit", IDM_EXIT ! 22: MENUITEM SEPARATOR ! 23: MENUITEM "&About Menu ...", IDM_ABOUT ! 24: END ! 25: ! 26: POPUP "&Colors" ! 27: BEGIN ! 28: MENUITEM "&Owner Draw Colors", IDM_COLOROWNERDR ! 29: MENUITEM SEPARATOR ! 30: MENUITEM "&Black", IDM_BLACK ! 31: MENUITEM "B&lue", IDM_BLUE ! 32: MENUITEM "&Red", IDM_RED ! 33: MENUITEM "&Green", IDM_GREEN ! 34: END ! 35: ! 36: POPUP "&Software" ! 37: BEGIN ! 38: POPUP "&Word Processing" ! 39: BEGIN ! 40: MENUITEM "&Word 5.0", 0 ! 41: MENUITEM "W&rite", 0 ! 42: END ! 43: ! 44: POPUP "&Spreadsheet" ! 45: BEGIN ! 46: MENUITEM "&Microsoft Excel", 0 ! 47: MENUITEM "&1+2=4", 0 ! 48: END ! 49: ! 50: POPUP "&Languages" ! 51: BEGIN ! 52: POPUP "&C" ! 53: BEGIN ! 54: MENUITEM "C &5.1", 0 ! 55: MENUITEM "&Quick C", 0 ! 56: END ! 57: MENUITEM "Quick &Basic", 0 ! 58: MENUITEM "&PASCAL", 0 ! 59: END ! 60: END ! 61: END ! 62: ! 63: /* Template for the floating popup */ ! 64: PopupMenu MENU ! 65: BEGIN ! 66: POPUP "FOO-Dummy Popup" ! 67: BEGIN ! 68: POPUP "Fonts" ! 69: BEGIN ! 70: MENUITEM "Courier", IDM_FONT ! 71: MENUITEM "Times Roman", IDM_FONT ! 72: MENUITEM "Swiss", IDM_FONT ! 73: MENUITEM "Helvetica", IDM_FONT ! 74: MENUITEM "Old English", IDM_FONT ! 75: END ! 76: POPUP "Sizes" ! 77: BEGIN ! 78: MENUITEM "7", IDM_SIZE ! 79: MENUITEM "8", IDM_SIZE ! 80: MENUITEM "9", IDM_SIZE ! 81: MENUITEM "10", IDM_SIZE ! 82: MENUITEM "11", IDM_SIZE ! 83: MENUITEM "12", IDM_SIZE ! 84: MENUITEM "14", IDM_SIZE ! 85: END ! 86: POPUP "Styles" ! 87: BEGIN ! 88: MENUITEM "Bold", IDM_STYLE ! 89: MENUITEM "Italic", IDM_STYLE ! 90: MENUITEM "Strike Out", IDM_STYLE ! 91: MENUITEM "Superscript", IDM_STYLE ! 92: MENUITEM "Subscript", IDM_STYLE ! 93: END ! 94: END ! 95: ! 96: END
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.