home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK8 / MFC / SAMPLES / TESTCLNT / TESTCLNT.RC$ / testclnt
Encoding:
Text File  |  1992-03-18  |  2.8 KB  |  108 lines

  1. /* testclnt.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        testclnt.ico
  19.  
  20. ID_APPLICATION MENU
  21. BEGIN
  22.     POPUP        "&File"
  23.     BEGIN
  24.         MENUITEM    "&Open...",             IDM_OPEN
  25.         MENUITEM    "&Revert",              IDM_REVERT
  26.         MENUITEM    "&Save",                IDM_SAVE
  27.         MENUITEM    "Save &As...",          IDM_SAVEAS
  28.         MENUITEM    SEPARATOR
  29.         MENUITEM    "E&xit",                IDM_EXIT
  30.     END
  31.  
  32.     POPUP        "&Edit"
  33.     BEGIN
  34.         MENUITEM    "&Copy\tCtrl+Ins",      IDM_COPY
  35.         MENUITEM    "&Paste\tShift+Ins",    IDM_PASTE
  36.         MENUITEM    "Paste &Link",          IDM_PASTELINK
  37.         MENUITEM    SEPARATOR
  38.         MENUITEM    "Lin&ks...",            IDM_LINKS
  39.     END
  40.  
  41.     POPUP       "&Object"
  42.     BEGIN
  43.         MENUITEM    "Insert &New...",       IDM_INSERT_OBJECT
  44.         MENUITEM    "",                     IDM_OBJECT_VERB_MIN
  45.     END
  46.  
  47.     POPUP       "&Test"
  48.     BEGIN
  49.         MENUITEM    "&Logging",             IDM_LOGGING
  50.         MENUITEM    SEPARATOR
  51.         POPUP       "&Client APIs"
  52.         BEGIN
  53.                 MENUITEM "&Close"           IDM_CLOSE
  54.                 MENUITEM "&Update"          IDM_UPDATE
  55.                 MENUITEM "&Release"         IDM_RELEASE
  56.                 MENUITEM "&Delete"          IDM_DELETE
  57.                 MENUITEM "Reco&nnect"       IDM_RECONNECT
  58.         END
  59.         POPUP       "&Document APIs"
  60.         BEGIN
  61.                 MENUITEM "Re&vert"          IDM_REVERTDOC
  62.                 MENUITEM "&Saved"           IDM_SAVED
  63.         END
  64.     END
  65.  
  66.     POPUP       "&Help"
  67.     BEGIN
  68.         MENUITEM    "&About...",            IDM_ABOUT
  69.     END
  70. END
  71.  
  72.  
  73. ID_APPLICATION ACCELERATORS
  74. BEGIN
  75.     VK_INSERT, IDM_COPY,  VIRTKEY, CONTROL
  76.     VK_INSERT, IDM_PASTE, VIRTKEY, SHIFT
  77. END
  78.  
  79. // Include all standard components for dialogs
  80. #include <afxoleUI.h>
  81. #include <afxoleUI.rc>
  82.  
  83.  
  84. IDDT_ABOUT DIALOG LOADONCALL MOVEABLE DISCARDABLE 22, 17, 144, 75
  85. CAPTION "About Test Client"
  86. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  87. BEGIN
  88.     CTEXT "Microsoft Foundation Libraries" -1, 0,  5, 144,  8
  89.     CTEXT "OLE Test Client Application"    -1, 0, 14, 144,  8
  90.     CTEXT "Version 1.00"                   -1, 0, 34, 144,  8
  91.     DEFPUSHBUTTON "OK"          IDOK,       53, 59,  32, 14,      WS_GROUP
  92. END
  93.  
  94.  
  95.  
  96. UpdateDlg DIALOG 40, 40, 120, 40
  97.     STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
  98.     CAPTION "Test Client"
  99. {
  100.     CTEXT           "Backing Up Last Change to REVERT.OLE.", -1, 4, 6, 120, 18
  101. }
  102.  
  103.  
  104. STRINGTABLE DISCARDABLE PRELOAD
  105. BEGIN
  106.     IDS_APPNAME,    "Test Client"
  107. END
  108.