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

  1. #ifndef __MMSG_H__
  2. #define __MMSG_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. // CMMsg wrapper class
  11.  
  12. class CMMsg : public CWnd
  13. {
  14. protected:
  15.     DECLARE_DYNCREATE(CMMsg)
  16. public:
  17.     CLSID const& GetClsid()
  18.     {
  19.         static CLSID const clsid
  20.             = { 0x6d3c54e5, 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 GetSortMsg();
  40.     void SetSortMsg(BOOL);
  41.     BOOL GetUnreadOnly();
  42.     void SetUnreadOnly(BOOL);
  43.     BOOL GetEnvelopeOnly();
  44.     void SetEnvelopeOnly(BOOL);
  45.     BOOL GetMarkAsRead();
  46.     void SetMarkAsRead(BOOL);
  47.     BOOL GetSuppressAttach();
  48.     void SetSuppressAttach(BOOL);
  49.     BOOL GetBodyAsFile();
  50.     void SetBodyAsFile(BOOL);
  51.     BOOL GetDisplaySendDialog();
  52.     void SetDisplaySendDialog(BOOL);
  53.     BOOL GetDisplayErrors();
  54.     void SetDisplayErrors(BOOL);
  55.     CString GetFetchMsgType();
  56.     void SetFetchMsgType(LPCTSTR);
  57.     CString GetTimeFormat();
  58.     void SetTimeFormat(LPCTSTR);
  59.     short GetWorkingMsg();
  60.     void SetWorkingMsg(short);
  61.     CString GetBindString();
  62.     void SetBindString(LPCTSTR);
  63.     BOOL GetIsBinded();
  64.     void SetIsBinded(BOOL);
  65.     long GetMsgCount();
  66.     void SetMsgCount(long);
  67.     CString GetSubject();
  68.     void SetSubject(LPCTSTR);
  69.     CString GetNoteText();
  70.     void SetNoteText(LPCTSTR);
  71.     CString GetMsgType();
  72.     void SetMsgType(LPCTSTR);
  73.     CString GetConversationID();
  74.     void SetConversationID(LPCTSTR);
  75.     CString GetTimeReceived();
  76.     void SetTimeReceived(LPCTSTR);
  77.     long GetFetchMsg();
  78.     void SetFetchMsg(long);
  79.     BOOL GetUnreadMsg();
  80.     void SetUnreadMsg(BOOL);
  81.     BOOL GetSentMsg();
  82.     void SetSentMsg(BOOL);
  83.     BOOL GetReceiptRequested();
  84.     void SetReceiptRequested(BOOL);
  85.     short GetAction();
  86.     void SetAction(short);
  87.     CString GetMsgID();
  88.     void SetMsgID(LPCTSTR);
  89.     CString GetErrorText();
  90.     void SetErrorText(LPCTSTR);
  91.     short GetErrorNum();
  92.     void SetErrorNum(short);
  93.     long GetGetPointer();
  94.     void SetGetPointer(long);
  95.     long GetObjRef();
  96.     void SetObjRef(long);
  97.     BOOL GetFastFetch();
  98.     void SetFastFetch(BOOL);
  99.     short GetPriority();
  100.     void SetPriority(short);
  101.  
  102. // Operations
  103. public:
  104.     void Clear();
  105.     BOOL RemoveItem(short sIndex);
  106.     BOOL AddItem(LPCTSTR szSubject, short iIndex);
  107.     BOOL MoveToFolder(LPCTSTR FolderName);
  108.     BOOL RemoveFromFolder(LPCTSTR FolderName);
  109.     BOOL BindWith(long ObjRef);
  110.     void AboutBox();
  111. };
  112.  
  113. #endif // __MMSG_H__
  114.