home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / ipc / ddeml / client / client.rc < prev    next >
Text File  |  1997-10-05  |  4KB  |  102 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 "client.h"
  14.  
  15. IDCLIENT  ICON  "client.ico"
  16. IDCONV    ICON  "conv.ico"
  17. IDLIST    ICON  "list.ico"
  18.  
  19. /*  frame window menu */
  20.  
  21. IDCLIENT  MENU
  22. BEGIN
  23.     POPUP   "&Edit"
  24.     BEGIN
  25.         MENUITEM    "&PasteLink",        IDM_EDITPASTE
  26.     END
  27.     POPUP   "&DDE"
  28.     BEGIN
  29.         MENUITEM    "&Connect...",                      IDM_CONNECT
  30.         MENUITEM    "&Reconnect...",                    IDM_RECONNECT
  31.         MENUITEM    "&Disconnect\tDel",                 IDM_DISCONNECT GRAYED
  32.         MENUITEM    "&Start Transaction",               IDM_TRANSACT
  33.         MENUITEM    "&Abandon Transaction\tShift-Del",  IDM_ABANDON
  34.         POPUP   "&Block"
  35.         BEGIN
  36.             MENUITEM    "&Block this conversation",     IDM_BLOCKCURRENT
  37.             MENUITEM    "&Enable this conversation",    IDM_ENABLECURRENT
  38.             MENUITEM    "E&nable one callback, this conversation", IDM_ENABLEONECURRENT
  39.             MENUITEM    SEPARATOR
  40.             MENUITEM    "B&lock all conversations",     IDM_BLOCKALLCBS
  41.             MENUITEM    "En&able all conversations",    IDM_ENABLEALLCBS
  42.             MENUITEM    "Enable &one callback, any conversation", IDM_ENABLEONECB
  43.             MENUITEM    SEPARATOR
  44.             MENUITEM    "Block ne&xt callback",         IDM_BLOCKNEXTCB
  45.             MENUITEM    "Terminate nex&t callback",     IDM_TERMNEXTCB
  46.         END
  47.     END
  48.     POPUP   "&Options"
  49.     BEGIN
  50.         MENUITEM    "&Default Synchronous timeout...",  IDM_TIMEOUT
  51.         MENUITEM    "&Response delay...",               IDM_DELAY
  52.         MENUITEM    "&Set Prefered Context...",         IDM_CONTEXT
  53.         MENUITEM    "Re&connect terminating servers",   IDM_AUTORECONNECT
  54.     END
  55.     POPUP   "&Window"
  56.     BEGIN
  57.         MENUITEM    "&Tile transactions",               IDM_XACTTILE
  58.         MENUITEM    "&Cascade transactions",            IDM_XACTCASCADE
  59.         MENUITEM    "C&lose all transactions",          IDM_ABANDONALL
  60.         MENUITEM    "T&ile conversations",              IDM_WINDOWTILE
  61.         MENUITEM    "C&ascade conversations",           IDM_WINDOWCASCADE
  62.         MENUITEM    "A&rrange Icons",                   IDM_WINDOWICONS
  63.         MENUITEM    "Cl&ose all conversations",         IDM_WINDOWCLOSEALL
  64.     END
  65.     MENUITEM        "&About...",                        IDM_HELPABOUT
  66. END
  67.  
  68.  
  69.  
  70.  
  71. /*  frame menu accelerators  */
  72.  
  73. IDCLIENT ACCELERATORS
  74. BEGIN
  75.     VK_DELETE,  IDM_DISCONNECT, VIRTKEY
  76.     VK_DELETE,  IDM_ABANDON,    VIRTKEY, SHIFT
  77.     VK_INSERT,  IDM_EDITPASTE,  VIRTKEY, SHIFT
  78.     VK_F1,      IDM_HELP,       VIRTKEY
  79. END
  80.  
  81.  
  82.  
  83. STRINGTABLE
  84. BEGIN
  85.  
  86. IDS_ILLFNM         , "Invalid filename: '%s'"
  87. IDS_ADDEXT         , ".TXT"
  88. IDS_CLOSESAVE      , "%s has been changed.  Save file before closing?"
  89. IDS_HELPNOTAVAIL   , "Can't load Windows Help application"
  90. IDS_CLIENTTITLE    , " - "
  91. #ifdef UNICODE
  92. IDS_APPNAME        , "DDEML Client (Unicode)"
  93. #else
  94. IDS_APPNAME        , "DDEML Client"
  95. #endif
  96. IDS_DDEMLERR       , "DDEML Error - %s"
  97. IDS_BADLENGTH      , "Invalid length value string.  Reenter or cancel."
  98.  
  99. END
  100.  
  101. #include "client.dlg"
  102.