home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / debug / deb / deb.rc < prev    next >
Text File  |  1997-10-09  |  5KB  |  150 lines

  1.  
  2. //-----------------------------------------------------------------------------
  3. // This is a part of the Microsoft Source Code Samples. 
  4. // Copyright (C) 1993-1997 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.  
  13. #include <Windows.H>
  14. #include "DEB.H"      // contains the IDs
  15.  
  16. // Miscellaneous Included Resources
  17. // ------------------------------------------------------------------------
  18. #include "DEB.Dlg"    // contains the dialog boxes
  19.  
  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
  29.  
  30. // Menus
  31. // ------------------------------------------------------------------------
  32. DebugMenu MENU
  33. BEGIN
  34.  
  35.   POPUP "&File"
  36.   BEGIN
  37.     MENUITEM "&Open...\tCtrl+O",              IDM_FILE_OPEN
  38.     MENUITEM "&Attach...\tCtrl+A",            IDM_FILE_ATTACH
  39.     MENUITEM SEPARATOR
  40.     MENUITEM "E&xit\tAlt+F4",                 IDM_FILE_EXIT
  41.   END
  42.  
  43.   POPUP "&Edit"
  44.   BEGIN
  45.     MENUITEM "Cu&t\tCtrl+X",                  IDM_EDIT_CUT
  46.     MENUITEM "&Copy\tCtrl+C",                 IDM_EDIT_COPY
  47.     MENUITEM "&Delete\tDel",                  IDM_EDIT_DELETE
  48.   END
  49.  
  50.   POPUP "&Options"
  51.   BEGIN
  52.     MENUITEM "&Font...",                      IDM_OPTIONS_FONT
  53.     MENUITEM "Background &Color...",          IDM_OPTIONS_COLOR
  54.     MENUITEM "&Preferences...",               IDM_OPTIONS_PREFERENCES
  55.     MENUITEM SEPARATOR
  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
  61.   END
  62.  
  63.   POPUP "&Help"
  64.   BEGIN
  65.     MENUITEM "&Contents",                     IDM_HELP_CONTENTS
  66.     MENUITEM "&Search for Help on...",        IDM_HELP_SEARCH
  67.     MENUITEM "&How to Use Help",              IDM_HELP_HOWTOUSE
  68.     MENUITEM SEPARATOR
  69.     MENUITEM "&About Debug Event Browser...", IDM_HELP_ABOUT
  70.   END
  71.  
  72. END
  73.  
  74. // Accelerator Tables
  75. // ------------------------------------------------------------------------
  76. DebugAccel ACCELERATORS
  77. BEGIN
  78.    VK_F12,    IDM_FILE_OPEN,     VIRTKEY, CONTROL
  79.    "O",       IDM_FILE_OPEN,     VIRTKEY, CONTROL
  80.    "A",       IDM_FILE_ATTACH,   VIRTKEY, CONTROL
  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.  
  90. // String Tables
  91. // ------------------------------------------------------------------------
  92. STRINGTABLE
  93. BEGIN
  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.  
  129.   BLOCK "StringFileInfo"
  130.   BEGIN
  131.     BLOCK "040904B0"
  132.     BEGIN
  133.       VALUE "CompanyName",     "Microsoft Corporation\0"
  134.       VALUE "FileDescription", "Win32 SDK Debug Event Browser Sample Application\0"
  135.       VALUE "FileVersion",     "1.1\0"
  136.       VALUE "InternalName",    "DEB.EXE\0"
  137.       VALUE "LegalCopyright",  "Copyright 1992 - 1997 Microsoft Corp.\0"
  138.       VALUE "LegalTrademarks", "Microsoft\256 is a registered trademark of Microsoft Corporation. Windows(TM) and Windows NT(TM) are trademarks of Microsoft Corporation.\0"
  139.       VALUE "ProductName",     "Debug Event Browser\0"
  140.       VALUE "ProductVersion",  "1.1\0"
  141.     END
  142.   END
  143.  
  144.   BLOCK "VarFileInfo"
  145.   BEGIN
  146.     VALUE "Translation", 0x409, 1200
  147.   END
  148.  
  149. END
  150.