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

  1. #ifndef __MRECI_H__
  2. #define __MRECI_H__
  3.  
  4. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  5.  
  6. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  7. //  Microsoft Visual C++, your modifications will be overwritten.
  8.  
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CMReci wrapper class
  11.  
  12. class CMReci : public CWnd
  13. {
  14. protected:
  15.     DECLARE_DYNCREATE(CMReci)
  16. public:
  17.     CLSID const& GetClsid()
  18.     {
  19.         static CLSID const clsid
  20.             = { 0x6d3c54f4, 0x875, 0x11cf, { 0x81, 0x71, 0x0, 0x0, 0x1, 0x0, 0x66, 0x3 } };
  21.         return clsid;
  22.     }
  23.     virtual BOOL Create(LPCTSTR lpszClassName,
  24.         LPCTSTR lpszWindowName, DWORD dwStyle,
  25.         const RECT& rect,
  26.         CWnd* pParentWnd, UINT nID,
  27.         CCreateContext* pContext = NULL)
  28.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  29.  
  30.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  31.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  32.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  33.         BSTR bstrLicKey = NULL)
  34.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  35.         pPersist, bStorage, bstrLicKey); }
  36.  
  37. // Attributes
  38. public:
  39.     BOOL GetDetailModifiable();
  40.     void SetDetailModifiable(BOOL);
  41.     short GetFetchType();
  42.     void SetFetchType(short);
  43.     short GetAddressEditNum();
  44.     void SetAddressEditNum(short);
  45.     CString GetAddressCaption();
  46.     void SetAddressCaption(LPCTSTR);
  47.     BOOL GetResolveDialog();
  48.     void SetResolveDialog(BOOL);
  49.     short GetAddRecipientClass();
  50.     void SetAddRecipientClass(short);
  51.     BOOL GetDisplayErrors();
  52.     void SetDisplayErrors(BOOL);
  53.     CString GetBindString();
  54.     void SetBindString(LPCTSTR);
  55.     BOOL GetIsBinded();
  56.     void SetIsBinded(BOOL);
  57.     long GetRecipientNum();
  58.     void SetRecipientNum(long);
  59.     long GetRecipientCount();
  60.     void SetRecipientCount(long);
  61.     BOOL GetFetchRecipient();
  62.     void SetFetchRecipient(BOOL);
  63.     CString GetRecipientName();
  64.     void SetRecipientName(LPCTSTR);
  65.     CString GetRecipientAddress();
  66.     void SetRecipientAddress(LPCTSTR);
  67.     long GetRecipientClass();
  68.     void SetRecipientClass(long);
  69.     short GetAction();
  70.     void SetAction(short);
  71.     CString GetResolveName();
  72.     void SetResolveName(LPCTSTR);
  73.     CString GetErrorText();
  74.     void SetErrorText(LPCTSTR);
  75.     short GetErrorNum();
  76.     void SetErrorNum(short);
  77.     long GetGetPointer();
  78.     void SetGetPointer(long);
  79.  
  80. // Operations
  81. public:
  82.     BOOL AddItem(LPCTSTR recipientList);
  83.     BOOL RemoveItem(long Index);
  84.     void Clear();
  85.     BOOL Refresh();
  86.     BOOL BindWith(long ObjRef);
  87.     void AboutBox();
  88. };
  89.  
  90. #endif // __MRECI_H__
  91.