home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / spy / app / spy.rc < prev    next >
Text File  |  1997-10-05  |  2KB  |  71 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 "spy.h"
  14.  
  15.  
  16. #include "dialogs.dlg"
  17.  
  18.  
  19. Spy ICON spy.ico
  20.  
  21.  
  22. Spy ACCELERATORS
  23. BEGIN
  24.     "^X",   MENU_EDIT_CUT
  25.     "^C",   MENU_EDIT_COPY
  26.     "^L",   MENU_EDIT_CLEAR
  27. END
  28.  
  29.  
  30. Spy MENU
  31. BEGIN
  32.     POPUP "&Spy"
  33.     BEGIN
  34.         MENUITEM "&Select Window...",           MENU_SPY_SELECTWINDOW
  35.         MENUITEM "&About...",                   MENU_SPY_ABOUT
  36.         MENUITEM SEPARATOR
  37.         MENUITEM "E&xit",                       MENU_SPY_EXIT
  38.     END
  39.  
  40.     POPUP "&Edit"
  41.     BEGIN
  42.         MENUITEM "Cu&t\tCtrl+X",                MENU_EDIT_CUT
  43.         MENUITEM "&Copy\tCtrl+C",               MENU_EDIT_COPY
  44.         MENUITEM "C&lear\tCtrl+L",              MENU_EDIT_CLEAR
  45.     END
  46.  
  47.     POPUP "&Options"
  48.     BEGIN
  49.         MENUITEM "&Messages...",                MENU_OPTIONS_MESSAGES
  50.         MENUITEM "&Font...",                    MENU_OPTIONS_FONT
  51.         MENUITEM "&Output...",                  MENU_OPTIONS_OUTPUT
  52.     END
  53.  
  54.     MENUITEM "S&tart!",                         MENU_START
  55. END
  56.  
  57. STRINGTABLE
  58. BEGIN
  59.     IDS_APPLICATION_NAME       "Spy"
  60.     IDS_MENU_START             "S&tart!"
  61.     IDS_MENU_STOP              "S&top!"
  62.     IDS_PARENT                 " [ parent... ]"
  63.     IDS_NOPARENT               "<No Parent>"
  64.     IDS_UNDEFINED              "<Undefined>"
  65.     IDS_ERROR_WND_LINE         "Window lines should be between 1-%d"
  66.     IDS_ERROR_CANT_OPEN_FILE   "Cannot open %s"
  67.     IDS_ERROR_CANT_OPEN_COM1   "Cannot open com1"
  68.     IDS_ERROR_CANT_LOAD_DLL    "Cannot load HOOK.DLL"
  69. END
  70.  
  71.