home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / DDE21.ZIP / CLIENT / CLIENT.RC < prev    next >
Text File  |  1991-05-09  |  2KB  |  72 lines

  1.  /*
  2.   $Workfile:   client.rc  $
  3.   $Revision:   1.1.1.0  $
  4.   $Date:   09 May 1991 18:11:16  $
  5.   $Logfile:   W:/dde/client.rcv  $
  6.   $Author:   mikem  $
  7.   $Modtime:   09 May 1991 18:07:04  $
  8.  
  9.   Module Description: resource file for DDE client application
  10.   contains main menu and one dialog box
  11. */
  12.  
  13. #define INCL_NLS   /* support DBCS os/2 versions flag FCF_DBE_APPSTAT */
  14. #define INCL_WIN  
  15. #include <os2.h>
  16. #include "client.h"
  17.  
  18. MENU ID_MAINWND
  19.      {
  20.      SUBMENU "~DDE",   IDM_DDE
  21.           {
  22.           MENUITEM "~Start Conversation...", IDM_STARTCONV
  23.           MENUITEM "Sto~p Conversation", IDM_STOPCONV,,MIA_DISABLED
  24.           MENUITEM SEPARATOR
  25.           MENUITEM "~Request last message", IDM_REQUEST,,MIA_DISABLED
  26.           MENUITEM "Hot link", IDM_ADVISE,, MIA_DISABLED
  27.           MENUITEM "End hot link",IDM_ENDADVISE,,MIA_DISABLED
  28.           MENUITEM SEPARATOR
  29.           MENUITEM "~About...", IDM_ABOUT
  30.           }
  31.      }
  32.  
  33. /* 
  34.  *  This dialog box allows the user to set the name of the server and 
  35.  *  a topic which will be broadcast to all top level frame windows
  36.  */
  37.  
  38. DLGTEMPLATE IDD_INIT_DLG LOADONCALL MOVEABLE DISCARDABLE
  39. BEGIN
  40.     DIALOG  "Initiate DDE Conversation", IDD_INIT_DLG, 112, 12, 184, 114, 
  41.             FS_MOUSEALIGN | WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR | 
  42.             FCF_DBE_APPSTAT
  43.     BEGIN
  44.         LTEXT          "Application", -1, 9, 91, 54, 8, NOT WS_GROUP
  45.         COMBOBOX       "", ID_SERVER_CBX, 65, 69, 115, 37, CBS_DROPDOWN |WS_GROUP
  46.         LTEXT          "Topic", -1, 17, 53, 36, 8, NOT WS_GROUP
  47.         COMBOBOX       "", ID_TOPIC_CBX, 65, 30, 115, 37, CBS_DROPDOWN
  48.         PUSHBUTTON     "Initiate", IDM_DDE, 23, 7, 40, 14, WS_GROUP
  49.         PUSHBUTTON     "Cancel", DID_CANCEL, 93, 7, 40, 14, NOT WS_TABSTOP
  50.     END
  51. END
  52.  
  53.  
  54. /* 
  55.  *  This dialog box displays information about the sample program 
  56.  */
  57.  
  58.  
  59. DLGTEMPLATE IDD_ABOUT LOADONCALL MOVEABLE DISCARDABLE
  60. {
  61.     DIALOG  "About", IDD_ABOUT, 5, 16, 243, 104, FS_NOBYTEALIGN, FCF_SYSMENU | 
  62.             FCF_TITLEBAR
  63.     {
  64.         CTEXT           "DDE Client V2.0", -1, 24, 85, 180, 8
  65.         CTEXT           "Sample Dynamic Data Exchange client", -1, 27, 65, 
  66.                         180, 8
  67.         CTEXT           "Copyright (C) IBM Personal Systems Developer, 1991", 
  68.                         -1, 5, 42, 228, 8
  69.         DEFPUSHBUTTON   "OK", IDM_DDE, 89, 14, 62, 18, WS_GROUP
  70.     }
  71. }
  72.