home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK11 / MFC / SAMPLES / TUTORIAL / PHBOOK.RC$ / phbook
Encoding:
Text File  |  1992-01-10  |  1.6 KB  |  57 lines

  1. /* PhBook.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 "resource.h"
  16. #include <afxres.h>
  17.  
  18. AFX_IDI_STD_FRAME   ICON    phbook.ico
  19.  
  20. MainMenu MENU
  21. {
  22.     POPUP "&File"
  23.     {
  24.         MENUITEM "&New",               IDM_NEW
  25.         MENUITEM "&Open...",           IDM_OPEN
  26.         MENUITEM "&Save",              IDM_SAVE,    GRAYED
  27.         MENUITEM "Save &As...",        IDM_SAVEAS,  GRAYED
  28.         MENUITEM "&Close",             IDM_CLOSE,   GRAYED
  29.         MENUITEM "&Print...",          IDM_PRINT,   GRAYED
  30.         MENUITEM "E&xit",              IDM_EXIT
  31.     }
  32.     POPUP "&Person"
  33.     {
  34.         MENUITEM "&Add...",            IDM_ADD,     GRAYED
  35.         MENUITEM "&Delete",            IDM_DELETE,  GRAYED
  36.         MENUITEM "&Find...",           IDM_FIND,    GRAYED
  37.         MENUITEM "F&ind All",          IDM_FINDALL, GRAYED
  38.         MENUITEM "&Edit...",           IDM_EDIT,    GRAYED
  39.     }
  40.     POPUP "&Help"
  41.     {
  42.         MENUITEM "&Using Phone Book\tF1",  IDM_HELP
  43.         MENUITEM "&About Phone Book...",   IDM_ABOUT
  44.     }
  45. }
  46.  
  47. MainAccelTable ACCELERATORS
  48. {
  49.     VK_F1,      IDM_HELP,   VIRTKEY
  50.     VK_DELETE,  IDM_DELETE, VIRTKEY
  51.     VK_RETURN,  IDM_EDIT,   VIRTKEY
  52.     VK_UP,      VK_UP,      VIRTKEY
  53.     VK_DOWN,    VK_DOWN,    VIRTKEY
  54. }
  55.  
  56. rcinclude phbook.dlg
  57.