|
|
1.1 ! root 1: /* multipad.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: #include <windows.h> ! 15: #include <afxres.h> ! 16: #include "resource.h" ! 17: ! 18: AFX_IDI_STD_MDIFRAME ICON multipad.ico // main icon ! 19: AFX_IDI_STD_FRAME ICON notepad.ico // icon for child windows ! 20: ! 21: /* frame window menu */ ! 22: ! 23: IDMULTIPAD MENU ! 24: { ! 25: POPUP "&File" ! 26: { ! 27: MENUITEM "&New\tCtrl+N", IDM_FILENEW ! 28: MENUITEM "&Open...\tCtrl+O", IDM_FILEOPEN ! 29: MENUITEM "&Save\tCtrl+S", IDM_FILESAVE ! 30: MENUITEM "Save &As...", IDM_FILESAVEAS ! 31: MENUITEM SEPARATOR ! 32: MENUITEM "&Print...", IDM_FILEPRINT ! 33: MENUITEM SEPARATOR ! 34: MENUITEM "S&hort Menus" IDM_FILEMENU ! 35: MENUITEM SEPARATOR ! 36: MENUITEM "E&xit", IDM_FILEEXIT ! 37: } ! 38: POPUP "&Edit" ! 39: { ! 40: MENUITEM "&Undo\tCtrl+Z", IDM_EDITUNDO ! 41: MENUITEM SEPARATOR ! 42: MENUITEM "Cu&t\tCtrl+X", IDM_EDITCUT ! 43: MENUITEM "&Copy\tCtrl+C", IDM_EDITCOPY ! 44: MENUITEM "&Paste\tCtrl+V", IDM_EDITPASTE ! 45: MENUITEM "&Delete\tDel", IDM_EDITCLEAR ! 46: MENUITEM SEPARATOR ! 47: MENUITEM "&Find...\tCtrl+F", IDM_SEARCHFIND ! 48: MENUITEM "Find &Next \tShift+F4", IDM_SEARCHNEXT ! 49: MENUITEM "Find P&revious \tF4", IDM_SEARCHPREV ! 50: MENUITEM SEPARATOR ! 51: MENUITEM "&Select All\tCtrl+A", IDM_EDITSELECT ! 52: MENUITEM "&Word Wrap" IDM_EDITWRAP ! 53: MENUITEM SEPARATOR ! 54: MENUITEM "Set F&ont...", IDM_EDITSETFONT ! 55: } ! 56: POPUP "&Window" ! 57: { ! 58: MENUITEM "&Tile", IDM_WINDOWTILE ! 59: MENUITEM "&Cascade", IDM_WINDOWCASCADE ! 60: MENUITEM "Arrange &Icons", IDM_WINDOWICONS ! 61: MENUITEM "Close &All", IDM_WINDOWCLOSEALL ! 62: } ! 63: ! 64: POPUP "&Help" ! 65: { ! 66: MENUITEM "&About Multipad...\tF1", IDM_HELPABOUT ! 67: } ! 68: } ! 69: ! 70: /* short frame window menu */ ! 71: IDMULTIPAD2 MENU ! 72: { ! 73: POPUP "&File" ! 74: { ! 75: MENUITEM "&New\tCtrl+N", IDM_FILENEW ! 76: MENUITEM "&Open...\tCtrl+O", IDM_FILEOPEN ! 77: MENUITEM "&Save\tCtrl+S", IDM_FILESAVE ! 78: MENUITEM "Save &as...", IDM_FILESAVEAS ! 79: MENUITEM SEPARATOR ! 80: MENUITEM "&Print...", IDM_FILEPRINT ! 81: MENUITEM SEPARATOR ! 82: MENUITEM "&Full Menus", IDM_FILEMENU ! 83: MENUITEM SEPARATOR ! 84: MENUITEM "E&xit", IDM_FILEEXIT ! 85: } ! 86: POPUP "&Edit" ! 87: { ! 88: MENUITEM "&Undo\tCtrl+Z", IDM_EDITUNDO ! 89: MENUITEM SEPARATOR ! 90: MENUITEM "&Cut\tCtrl+X", IDM_EDITCUT ! 91: MENUITEM "Co&py\tCtrl+C", IDM_EDITCOPY ! 92: MENUITEM "&Paste\tCtrl+V", IDM_EDITPASTE ! 93: MENUITEM "&Delete\tDel", IDM_EDITCLEAR ! 94: } ! 95: POPUP "&Window" ! 96: { ! 97: MENUITEM "&Arrange", IDM_WINDOWTILE ! 98: } ! 99: POPUP "&Help" ! 100: { ! 101: MENUITEM "&About Multipad...\tF1", IDM_HELPABOUT ! 102: } ! 103: } ! 104: ! 105: /* frame menu accelerators */ ! 106: ! 107: IDMULTIPAD ACCELERATORS ! 108: { ! 109: "N", IDM_FILENEW, VIRTKEY, CONTROL ! 110: "O", IDM_FILEOPEN, VIRTKEY, CONTROL ! 111: "S", IDM_FILESAVE, VIRTKEY, CONTROL ! 112: "A", IDM_EDITSELECT, VIRTKEY, CONTROL ! 113: "C", IDM_EDITCOPY, VIRTKEY, CONTROL ! 114: "V", IDM_EDITPASTE, VIRTKEY, CONTROL ! 115: "X", IDM_EDITCUT, VIRTKEY, CONTROL ! 116: "Z", IDM_EDITUNDO, VIRTKEY, CONTROL ! 117: "F", IDM_SEARCHFIND, VIRTKEY, CONTROL ! 118: VK_INSERT, IDM_EDITCOPY, VIRTKEY, CONTROL ! 119: VK_INSERT, IDM_EDITPASTE, VIRTKEY, SHIFT ! 120: VK_DELETE, IDM_EDITCUT, VIRTKEY, SHIFT ! 121: VK_BACK, IDM_EDITUNDO, VIRTKEY, ALT ! 122: VK_F4, IDM_SEARCHNEXT, VIRTKEY, SHIFT ! 123: VK_F4, IDM_SEARCHPREV, VIRTKEY ! 124: VK_F1, IDM_HELPABOUT, VIRTKEY ! 125: } ! 126: ! 127: STRINGTABLE ! 128: { ! 129: IDS_CANTOPEN "Not able to open file '%s'" ! 130: IDS_CANTREAD "Not able to read file '%s'" ! 131: IDS_CANTCREATE "Not able to create file '%s'" ! 132: IDS_CANTWRITE "Not able to write file '%s'" ! 133: IDS_FILETOOBIG "File '%s' is larger than 32k byte limit" ! 134: IDS_ADDEXT ".TXT" ! 135: IDS_CLOSESAVE "File %s has been changed. Save file before closing?" ! 136: IDS_CANTFIND "Not able to find '%s'" ! 137: IDS_UNTITLED "File" ! 138: IDS_PRINTJOB "MultiPad - " ! 139: IDS_PRINTERROR "Not able to print '%s'" ! 140: ! 141: IDS_ACTTHISWIN "Activates this window" ! 142: IDS_ALTPMT "Press ALT to choose commands" ! 143: IDS_MENUPMT "Press letter on menu title, or use arrow keys and press ENTER" ! 144: IDS_OPENTHISFILE "Opens this file" ! 145: IDM_FILENEW "Creates a new file" ! 146: IDM_FILEOPEN "Opens an existing file" ! 147: IDM_FILESAVEAS "Saves the active file with a new name" ! 148: IDM_FILESAVE "Saves the active file" ! 149: IDM_FILEPRINT "Prints the active file" ! 150: IDM_FILEEXIT "Closes MultiPad" ! 151: IDM_FILESETUP "Changes the printing options" ! 152: IDM_FILEMENU "Toggles between full and short menus" ! 153: IDM_EDITUNDO "Reverses the last action" ! 154: IDM_EDITCUT "Cuts the selection and puts it in the Clipboard" ! 155: IDM_EDITCOPY "Copies the selection and puts it in the Clipboard" ! 156: IDM_EDITPASTE "Inserts Clipboard contents at the insertion point" ! 157: IDM_EDITCLEAR "Deletes the selection" ! 158: IDM_EDITSELECT "Selects the entire file" ! 159: IDM_EDITWRAP "Toggles word wrapping on and off" ! 160: IDM_EDITSETFONT "Change the font for the window" ! 161: IDM_SEARCHFIND "Finds text" ! 162: IDM_SEARCHNEXT "Repeats last find operation" ! 163: IDM_SEARCHPREV "Repeats last find operation looking towards start of file" ! 164: IDM_WINDOWTILE "Arranges windows as non-overlapping tiles" ! 165: IDM_WINDOWCASCADE "Arranges windows so they overlap" ! 166: IDM_WINDOWICONS "Arranges all icons in rows" ! 167: IDM_WINDOWCLOSEALL "Closes all files after prompting to save changes" ! 168: IDM_HELPABOUT "Displays information about MultiPad" ! 169: SC_RESTORE "Returns the window to the size and location prior to Maximizing or Minimizing" ! 170: SC_MOVE "Allows repositioning of the window" ! 171: SC_SIZE "Allows resizing of the window" ! 172: SC_MINIMIZE "Minimizes the window to an icon" ! 173: SC_MAXIMIZE "Maximizes the window to the size of the screen" ! 174: SC_CLOSE "Closes the window" ! 175: SC_TASKLIST "Displays the Task List" ! 176: SC_NEXTWINDOW "Activates one of the other file windows" ! 177: } ! 178: ! 179: rcinclude multipad.dlg
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.