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

  1. /*
  2.   $Workfile:   client.h  $
  3.   $Revision:   1.1.1.0  $
  4.   $Date:   09 May 1991 18:09:54  $
  5.   $Logfile:   W:/dde/client.h_v  $
  6.   $Author:   mikem  $
  7.   $Modtime:   09 May 1991 18:07:04  $
  8.  
  9.    Sample Client DDE application 
  10.    Copyright (C) Personal Systems Developer, IBM Corporation 1991
  11.    Author: Michael R. MacFaden
  12.    Internet: macfaden@paloic1.vnet.ibm.com
  13. */
  14.  
  15. /* Maximum string sizes for various names and text */
  16.  
  17. #define  CV_MAXDDENAME 64              /* arbritary max sizes  */
  18. #define  CV_MAXTOPICNAME 64            /* not defined by protocol */
  19.  
  20. /* Default DDE communications parameters  */
  21.  
  22. #define  CV_DDEAPPNAME "QuoteServer"
  23. #define  CV_DDETOPIC   "Quotes"
  24. #define  CV_DDEITEMSG  "Quote"
  25.  
  26. /* struct def  */
  27.  
  28. typedef struct _DDECONV
  29.       {                                /* ddec */
  30.       CHAR szDDEServerName[CV_MAXDDENAME];
  31.       CHAR szDDETopicName[CV_MAXDDENAME];
  32.       } DDECONV;
  33.  
  34. typedef DDECONV FAR *PDDECONV;
  35.  
  36. /* PM Menu  */
  37.  
  38. #define  ID_MAINWND    256
  39. #define  IDM_DDE       1
  40. #define  IDM_STARTCONV 10
  41. #define  IDM_STOPCONV  11
  42. #define  IDM_REQUEST   12
  43. #define  IDM_ADVISE    13
  44. #define  IDM_ENDADVISE 14
  45. #define  IDM_ABOUT     15
  46.  
  47. /* PM dialog box */
  48.  
  49. #define  IDD_INIT_DLG  500
  50. #define  ID_SERVER_CBX 501
  51. #define  ID_TOPIC_CBX  502
  52.  
  53.  
  54. /* About dialog box */
  55. #define IDD_ABOUT 600
  56.