home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK11 / MFC / SAMPLES / TESTSERV / TESTSERV.RC$ / testserv
Encoding:
Text File  |  1992-03-14  |  2.6 KB  |  88 lines

  1. /* testserv.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.  
  15. #include <windows.h>
  16. #include "resource.h"
  17. #include <afxres.h>
  18.  
  19. AFX_IDI_STD_FRAME   ICON                testserv.ico
  20.  
  21. MainMenu MENU
  22. {
  23.     POPUP           "&File"
  24.     {
  25.         MENUITEM    "&New",             IDM_NEW
  26.         MENUITEM    "&Open...",            IDM_OPEN
  27.         MENUITEM    "&Save",            IDM_SAVE
  28.         MENUITEM    "Save &As...",         IDM_SAVEAS
  29.         MENUITEM    SEPARATOR
  30.         MENUITEM    "E&xit",            IDM_EXIT
  31.     }
  32.     
  33.     POPUP           "&Edit"
  34.     {
  35.         MENUITEM    "Copy &Link",       IDM_COPYLINK
  36.         MENUITEM    "Copy &Object",     IDM_COPYOBJECT
  37.     }
  38.  
  39.     POPUP           "&Test"
  40.     {   
  41.         MENUITEM    "&Logging",         IDM_LOGGING
  42.         MENUITEM    SEPARATOR
  43.         POPUP       "&Server APIs"
  44.         {
  45.             MENUITEM "&Revoke",         IDM_REVOKESVR
  46.         }
  47.         POPUP       "&Document APIs"
  48.         {
  49.             MENUITEM "&Revoke",         IDM_REVOKEDOC
  50.             MENUITEM "Re&vert",         IDM_REVERTDOC
  51.             MENUITEM "&Saved",          IDM_SAVEDOC
  52.             MENUITEM "&Closed",         IDM_CLOSEDOC
  53.             MENUITEM "C&hanged",        IDM_CHANGEDOC
  54.         }
  55.         POPUP       "&Item APIs"
  56.         {
  57.             MENUITEM "&Changed",            IDM_CHANGEITEM
  58.         }
  59.     }
  60.  
  61.     POPUP           "&Help"
  62.     {
  63.         MENUITEM    "&About...",           IDM_ABOUT
  64.     }
  65. }
  66.  
  67. IDDT_EDIT DIALOG LOADONCALL MOVEABLE DISCARDABLE 13, 19, 150, 65
  68. STYLE WS_DLGFRAME | WS_POPUP
  69. BEGIN
  70.     CONTROL "", IDC_EDIT, "edit", ES_LEFT | WS_BORDER | WS_TABSTOP | WS_CHILD, 25, 23, 115, 15
  71.     CONTROL "Text:", IDC_TEXT, "static", SS_LEFT | WS_CHILD, 5, 25, 20, 10
  72.     CONTROL "OK", IDC_OK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 25, 45, 30, 15
  73.     CONTROL "Cancel", IDC_CANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 85, 45, 30, 15
  74.     CONTROL "AFX Test Server OLE Item Editor", IDC_TITLE, "static", SS_LEFT | WS_CHILD, 20, 5, 110, 10
  75. END
  76.  
  77. IDDT_ABOUT DIALOG 34, 22, 144, 75
  78. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  79. CAPTION "About Test Server"
  80. FONT 8, "Helv"
  81. BEGIN
  82.     CTEXT           "Microsoft Windows", -1, 0, 5, 144, 8
  83.     CTEXT           "Microsoft Foundation Classes", -1, 0, 14, 144, 8
  84.     CTEXT           "OLE Server Sample", -1, 0, 23, 144, 8
  85.     CTEXT           "Version 1.0", -1, 0, 36, 144, 8
  86.     DEFPUSHBUTTON   "OK", IDOK, 56, 53, 32, 14, WS_GROUP
  87. END
  88.