|
|
1.1.1.3 ! root 1: ! 2: //----------------------------------------------------------------------------- ! 3: // This is a part of the Microsoft Source Code Samples. ! 4: // Copyright (C) 1993 Microsoft Corporation. ! 5: // All rights reserved. ! 6: // ! 7: // This source code is only intended as a supplement to ! 8: // Microsoft Development Tools and/or WinHelp documentation. ! 9: // See these sources for detailed information regarding the ! 10: // Microsoft samples programs. ! 11: //----------------------------------------------------------------------------- ! 12: 1.1 root 13: #include <Windows.H> 14: #include "DEB.H" // contains the IDs 15: 1.1.1.3 ! root 16: // Miscellaneous Included Resources ! 17: // ------------------------------------------------------------------------ ! 18: #include "DEB.Dlg" // contains the dialog boxes 1.1 root 19: 1.1.1.3 ! root 20: DebugIcon ICON DEB.Ico ! 21: DebugIcon1 ICON DEB1.Ico ! 22: DebugIcon2 ICON DEB2.Ico ! 23: DebugIcon3 ICON DEB3.Ico ! 24: DebugIcon4 ICON DEB4.Ico ! 25: DebugIcon5 ICON DEB5.Ico ! 26: DebugIcon6 ICON DEB6.Ico ! 27: DebugIcon7 ICON DEB7.Ico ! 28: DebugIcon8 ICON DEB8.Ico 1.1 root 29: 1.1.1.3 ! root 30: // Menus ! 31: // ------------------------------------------------------------------------ 1.1 root 32: DebugMenu MENU 33: BEGIN 34: 35: POPUP "&File" 36: BEGIN 1.1.1.3 ! root 37: MENUITEM "&Open...\tCtrl+O", IDM_FILE_OPEN ! 38: MENUITEM "&Attach...\tCtrl+A", IDM_FILE_ATTACH 1.1 root 39: MENUITEM SEPARATOR 1.1.1.3 ! root 40: MENUITEM "E&xit\tAlt+F4", IDM_FILE_EXIT 1.1 root 41: END 42: 43: POPUP "&Edit" 44: BEGIN 1.1.1.3 ! root 45: MENUITEM "Cu&t\tCtrl+X", IDM_EDIT_CUT ! 46: MENUITEM "&Copy\tCtrl+C", IDM_EDIT_COPY ! 47: MENUITEM "&Delete\tDel", IDM_EDIT_DELETE 1.1 root 48: END 49: 50: POPUP "&Options" 51: BEGIN 1.1.1.3 ! root 52: MENUITEM "&Font...", IDM_OPTIONS_FONT ! 53: MENUITEM "Background &Color...", IDM_OPTIONS_COLOR ! 54: MENUITEM "&Preferences...", IDM_OPTIONS_PREFERENCES 1.1 root 55: MENUITEM SEPARATOR 1.1.1.3 ! root 56: MENUITEM "&Tool Bar", IDM_OPTIONS_TOOLBAR ! 57: MENUITEM "Use Saved &Directory", IDM_OPTIONS_SAVEDDIR ! 58: MENUITEM "Save Settings on E&xit", IDM_OPTIONS_SAVEONEXIT ! 59: MENUITEM SEPARATOR ! 60: MENUITEM "Save Settings &Now", IDM_OPTIONS_SAVENOW 1.1 root 61: END 62: 63: POPUP "&Help" 64: BEGIN 1.1.1.3 ! root 65: MENUITEM "&Contents", IDM_HELP_CONTENTS ! 66: MENUITEM "&Search for Help on...", IDM_HELP_SEARCH ! 67: MENUITEM "&How to Use Help", IDM_HELP_HOWTOUSE 1.1 root 68: MENUITEM SEPARATOR 1.1.1.3 ! root 69: MENUITEM "&About Debug Event Browser...", IDM_HELP_ABOUT 1.1 root 70: END 71: 72: END 73: 1.1.1.3 ! root 74: // Accelerator Tables ! 75: // ------------------------------------------------------------------------ 1.1 root 76: DebugAccel ACCELERATORS 77: BEGIN 78: VK_F12, IDM_FILE_OPEN, VIRTKEY, CONTROL 1.1.1.3 ! root 79: "O", IDM_FILE_OPEN, VIRTKEY, CONTROL ! 80: "A", IDM_FILE_ATTACH, VIRTKEY, CONTROL 1.1 root 81: VK_F4, IDM_FILE_EXIT, VIRTKEY, ALT 82: "X", IDM_EDIT_CUT, VIRTKEY, CONTROL 83: "C", IDM_EDIT_COPY, VIRTKEY, CONTROL 84: VK_DELETE, IDM_EDIT_CUT, VIRTKEY, SHIFT 85: VK_INSERT, IDM_EDIT_COPY, VIRTKEY, CONTROL 86: VK_DELETE, IDM_EDIT_DELETE, VIRTKEY 87: VK_F1, IDM_HELP_CONTENTS, VIRTKEY 88: END 89: 1.1.1.3 ! root 90: // String Tables ! 91: // ------------------------------------------------------------------------ 1.1 root 92: STRINGTABLE 93: BEGIN 1.1.1.3 ! root 94: IDS_APPNAME, "Debug Event Browser" ! 95: IDS_SHORT_APPNAME, "DEB" ! 96: IDS_DEBUG_EVENTS, "Debug Events" ! 97: IDS_OFN_TITLE, "Select an Executable" ! 98: IDS_OFN_DEBUGGEE_TITLE, "Debug Event Browser - Debuggee" ! 99: IDS_OFN_FILTERNAME, "Executable Files(*.EXE)" ! 100: IDS_OFN_FILTER, "*.EXE" ! 101: IDS_BUTTON_OPEN, "Open" ! 102: IDS_BUTTON_ATTACH, "Attach" ! 103: IDS_BUTTON_CUT, "Cut" ! 104: IDS_BUTTON_COPY, "Copy" ! 105: IDS_BUTTON_DELETE, "Delete" ! 106: IDS_BUTTON_HELP, "Help" ! 107: IDS_EXIT_BOX_TITLE, "Exit the Debug Event Browser" ! 108: IDS_EXIT_BOX_TEXT, "Some Debuggee processes are still active.\nDo you want to Exit anyway?" ! 109: IDS_API_FAILED_MSG "A Windows API Failed" ! 110: ! 111: IDS_WINDOWS_NT_REQUIRED_TITLE "Windows NT Required" ! 112: IDS_WINDOWS_NT_REQUIRED "Sorry, the Debug Event Browser\nrequires Windows NT. This application\nwill now terminate." ! 113: END ! 114: ! 115: // Version Information ! 116: // ------------------------------------------------------------------------ ! 117: #include <winver.h> ! 118: ! 119: VS_VERSION_INFO VERSIONINFO ! 120: FILEVERSION 1,0 ! 121: PRODUCTVERSION 1,0 ! 122: FILEFLAGSMASK VS_FFI_FILEFLAGSMASK ! 123: FILEFLAGS (VS_FF_PRIVATEBUILD|VS_FF_PRERELEASE|VS_FF_DEBUG) ! 124: FILEOS VOS_NT_WINDOWS32 ! 125: FILETYPE VFT_APP ! 126: FILESUBTYPE VFT2_UNKNOWN ! 127: BEGIN ! 128: BLOCK "StringFileInfo" ! 129: BEGIN ! 130: BLOCK "040904B0" ! 131: BEGIN ! 132: VALUE "CompanyName", "Microsoft Corporation\0" ! 133: VALUE "FileDescription", "Win32 SDK Debug Event Browser Sample Application\0" ! 134: VALUE "FileVersion", "1.0\0" ! 135: VALUE "InternalName", "DEB.EXE\0" ! 136: VALUE "LegalCopyright", "Copyright \251 1992,1993 Microsoft Corp.\0" ! 137: VALUE "LegalTrademarks", "Microsoft\256 is a registered trademark of Microsoft Corporation. Windows(TM) and Windows NT(TM) are trademarks of Microsoft Corporation.\0" ! 138: VALUE "ProductName", "Debug Event Browser\0" ! 139: VALUE "ProductVersion", "1.0\0" ! 140: END ! 141: END ! 142: ! 143: BLOCK "VarFileInfo" ! 144: BEGIN ! 145: VALUE "Translation", 0x409, 1200 ! 146: END 1.1 root 147: END
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.