home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 5 Developer's Kit / vb5 dev kit.iso / dev / mailx6 / _setup.2 / Group7 / mreci.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-08  |  5.6 KB  |  307 lines

  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2.  
  3. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  4. //  Microsoft Visual C++, your modifications will be overwritten.
  5.  
  6.  
  7. #include "stdafx.h"
  8. #include "mreci.h"
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CMReci
  12.  
  13. IMPLEMENT_DYNCREATE(CMReci, CWnd)
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CMReci properties
  17.  
  18. BOOL CMReci::GetDetailModifiable()
  19. {
  20.     BOOL result;
  21.     GetProperty(0x1, VT_BOOL, (void*)&result);
  22.     return result;
  23. }
  24.  
  25. void CMReci::SetDetailModifiable(BOOL propVal)
  26. {
  27.     SetProperty(0x1, VT_BOOL, propVal);
  28. }
  29.  
  30. short CMReci::GetFetchType()
  31. {
  32.     short result;
  33.     GetProperty(0x2, VT_I2, (void*)&result);
  34.     return result;
  35. }
  36.  
  37. void CMReci::SetFetchType(short propVal)
  38. {
  39.     SetProperty(0x2, VT_I2, propVal);
  40. }
  41.  
  42. short CMReci::GetAddressEditNum()
  43. {
  44.     short result;
  45.     GetProperty(0x3, VT_I2, (void*)&result);
  46.     return result;
  47. }
  48.  
  49. void CMReci::SetAddressEditNum(short propVal)
  50. {
  51.     SetProperty(0x3, VT_I2, propVal);
  52. }
  53.  
  54. CString CMReci::GetAddressCaption()
  55. {
  56.     CString result;
  57.     GetProperty(0x4, VT_BSTR, (void*)&result);
  58.     return result;
  59. }
  60.  
  61. void CMReci::SetAddressCaption(LPCTSTR propVal)
  62. {
  63.     SetProperty(0x4, VT_BSTR, propVal);
  64. }
  65.  
  66. BOOL CMReci::GetResolveDialog()
  67. {
  68.     BOOL result;
  69.     GetProperty(0x5, VT_BOOL, (void*)&result);
  70.     return result;
  71. }
  72.  
  73. void CMReci::SetResolveDialog(BOOL propVal)
  74. {
  75.     SetProperty(0x5, VT_BOOL, propVal);
  76. }
  77.  
  78. short CMReci::GetAddRecipientClass()
  79. {
  80.     short result;
  81.     GetProperty(0x6, VT_I2, (void*)&result);
  82.     return result;
  83. }
  84.  
  85. void CMReci::SetAddRecipientClass(short propVal)
  86. {
  87.     SetProperty(0x6, VT_I2, propVal);
  88. }
  89.  
  90. BOOL CMReci::GetDisplayErrors()
  91. {
  92.     BOOL result;
  93.     GetProperty(0x7, VT_BOOL, (void*)&result);
  94.     return result;
  95. }
  96.  
  97. void CMReci::SetDisplayErrors(BOOL propVal)
  98. {
  99.     SetProperty(0x7, VT_BOOL, propVal);
  100. }
  101.  
  102. CString CMReci::GetBindString()
  103. {
  104.     CString result;
  105.     GetProperty(0x8, VT_BSTR, (void*)&result);
  106.     return result;
  107. }
  108.  
  109. void CMReci::SetBindString(LPCTSTR propVal)
  110. {
  111.     SetProperty(0x8, VT_BSTR, propVal);
  112. }
  113.  
  114. BOOL CMReci::GetIsBinded()
  115. {
  116.     BOOL result;
  117.     GetProperty(0x9, VT_BOOL, (void*)&result);
  118.     return result;
  119. }
  120.  
  121. void CMReci::SetIsBinded(BOOL propVal)
  122. {
  123.     SetProperty(0x9, VT_BOOL, propVal);
  124. }
  125.  
  126. long CMReci::GetRecipientNum()
  127. {
  128.     long result;
  129.     GetProperty(0xa, VT_I4, (void*)&result);
  130.     return result;
  131. }
  132.  
  133. void CMReci::SetRecipientNum(long propVal)
  134. {
  135.     SetProperty(0xa, VT_I4, propVal);
  136. }
  137.  
  138. long CMReci::GetRecipientCount()
  139. {
  140.     long result;
  141.     GetProperty(0xb, VT_I4, (void*)&result);
  142.     return result;
  143. }
  144.  
  145. void CMReci::SetRecipientCount(long propVal)
  146. {
  147.     SetProperty(0xb, VT_I4, propVal);
  148. }
  149.  
  150. BOOL CMReci::GetFetchRecipient()
  151. {
  152.     BOOL result;
  153.     GetProperty(0xc, VT_BOOL, (void*)&result);
  154.     return result;
  155. }
  156.  
  157. void CMReci::SetFetchRecipient(BOOL propVal)
  158. {
  159.     SetProperty(0xc, VT_BOOL, propVal);
  160. }
  161.  
  162. CString CMReci::GetRecipientName()
  163. {
  164.     CString result;
  165.     GetProperty(0xd, VT_BSTR, (void*)&result);
  166.     return result;
  167. }
  168.  
  169. void CMReci::SetRecipientName(LPCTSTR propVal)
  170. {
  171.     SetProperty(0xd, VT_BSTR, propVal);
  172. }
  173.  
  174. CString CMReci::GetRecipientAddress()
  175. {
  176.     CString result;
  177.     GetProperty(0xe, VT_BSTR, (void*)&result);
  178.     return result;
  179. }
  180.  
  181. void CMReci::SetRecipientAddress(LPCTSTR propVal)
  182. {
  183.     SetProperty(0xe, VT_BSTR, propVal);
  184. }
  185.  
  186. long CMReci::GetRecipientClass()
  187. {
  188.     long result;
  189.     GetProperty(0xf, VT_I4, (void*)&result);
  190.     return result;
  191. }
  192.  
  193. void CMReci::SetRecipientClass(long propVal)
  194. {
  195.     SetProperty(0xf, VT_I4, propVal);
  196. }
  197.  
  198. short CMReci::GetAction()
  199. {
  200.     short result;
  201.     GetProperty(0x10, VT_I2, (void*)&result);
  202.     return result;
  203. }
  204.  
  205. void CMReci::SetAction(short propVal)
  206. {
  207.     SetProperty(0x10, VT_I2, propVal);
  208. }
  209.  
  210. CString CMReci::GetResolveName()
  211. {
  212.     CString result;
  213.     GetProperty(0x11, VT_BSTR, (void*)&result);
  214.     return result;
  215. }
  216.  
  217. void CMReci::SetResolveName(LPCTSTR propVal)
  218. {
  219.     SetProperty(0x11, VT_BSTR, propVal);
  220. }
  221.  
  222. CString CMReci::GetErrorText()
  223. {
  224.     CString result;
  225.     GetProperty(0x12, VT_BSTR, (void*)&result);
  226.     return result;
  227. }
  228.  
  229. void CMReci::SetErrorText(LPCTSTR propVal)
  230. {
  231.     SetProperty(0x12, VT_BSTR, propVal);
  232. }
  233.  
  234. short CMReci::GetErrorNum()
  235. {
  236.     short result;
  237.     GetProperty(0x13, VT_I2, (void*)&result);
  238.     return result;
  239. }
  240.  
  241. void CMReci::SetErrorNum(short propVal)
  242. {
  243.     SetProperty(0x13, VT_I2, propVal);
  244. }
  245.  
  246. long CMReci::GetGetPointer()
  247. {
  248.     long result;
  249.     GetProperty(0x14, VT_I4, (void*)&result);
  250.     return result;
  251. }
  252.  
  253. void CMReci::SetGetPointer(long propVal)
  254. {
  255.     SetProperty(0x14, VT_I4, propVal);
  256. }
  257.  
  258. /////////////////////////////////////////////////////////////////////////////
  259. // CMReci operations
  260.  
  261. BOOL CMReci::AddItem(LPCTSTR recipientList)
  262. {
  263.     BOOL result;
  264.     static BYTE parms[] =
  265.         VTS_BSTR;
  266.     InvokeHelper(0x15, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  267.         recipientList);
  268.     return result;
  269. }
  270.  
  271. BOOL CMReci::RemoveItem(long Index)
  272. {
  273.     BOOL result;
  274.     static BYTE parms[] =
  275.         VTS_I4;
  276.     InvokeHelper(0x16, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  277.         Index);
  278.     return result;
  279. }
  280.  
  281. void CMReci::Clear()
  282. {
  283.     InvokeHelper(0x17, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  284. }
  285.  
  286. BOOL CMReci::Refresh()
  287. {
  288.     BOOL result;
  289.     InvokeHelper(0x18, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
  290.     return result;
  291. }
  292.  
  293. BOOL CMReci::BindWith(long ObjRef)
  294. {
  295.     BOOL result;
  296.     static BYTE parms[] =
  297.         VTS_I4;
  298.     InvokeHelper(0x19, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  299.         ObjRef);
  300.     return result;
  301. }
  302.  
  303. void CMReci::AboutBox()
  304. {
  305.     InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  306. }
  307.