home *** CD-ROM | disk | FTP | other *** search
- #ifndef __MMSG_H__
- #define __MMSG_H__
-
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
- /////////////////////////////////////////////////////////////////////////////
- // CMMsg wrapper class
-
- class CMMsg : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CMMsg)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0x6d3c54e5, 0x875, 0x11cf, { 0x81, 0x71, 0x0, 0x0, 0x1, 0x0, 0x66, 0x3 } };
- return clsid;
- }
- virtual BOOL Create(LPCTSTR lpszClassName,
- LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect,
- CWnd* pParentWnd, UINT nID,
- CCreateContext* pContext = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
-
- BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect, CWnd* pParentWnd, UINT nID,
- CFile* pPersist = NULL, BOOL bStorage = FALSE,
- BSTR bstrLicKey = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
- pPersist, bStorage, bstrLicKey); }
-
- // Attributes
- public:
- BOOL GetSortMsg();
- void SetSortMsg(BOOL);
- BOOL GetUnreadOnly();
- void SetUnreadOnly(BOOL);
- BOOL GetEnvelopeOnly();
- void SetEnvelopeOnly(BOOL);
- BOOL GetMarkAsRead();
- void SetMarkAsRead(BOOL);
- BOOL GetSuppressAttach();
- void SetSuppressAttach(BOOL);
- BOOL GetBodyAsFile();
- void SetBodyAsFile(BOOL);
- BOOL GetDisplaySendDialog();
- void SetDisplaySendDialog(BOOL);
- BOOL GetDisplayErrors();
- void SetDisplayErrors(BOOL);
- CString GetFetchMsgType();
- void SetFetchMsgType(LPCTSTR);
- CString GetTimeFormat();
- void SetTimeFormat(LPCTSTR);
- short GetWorkingMsg();
- void SetWorkingMsg(short);
- CString GetBindString();
- void SetBindString(LPCTSTR);
- BOOL GetIsBinded();
- void SetIsBinded(BOOL);
- long GetMsgCount();
- void SetMsgCount(long);
- CString GetSubject();
- void SetSubject(LPCTSTR);
- CString GetNoteText();
- void SetNoteText(LPCTSTR);
- CString GetMsgType();
- void SetMsgType(LPCTSTR);
- CString GetConversationID();
- void SetConversationID(LPCTSTR);
- CString GetTimeReceived();
- void SetTimeReceived(LPCTSTR);
- long GetFetchMsg();
- void SetFetchMsg(long);
- BOOL GetUnreadMsg();
- void SetUnreadMsg(BOOL);
- BOOL GetSentMsg();
- void SetSentMsg(BOOL);
- BOOL GetReceiptRequested();
- void SetReceiptRequested(BOOL);
- short GetAction();
- void SetAction(short);
- CString GetMsgID();
- void SetMsgID(LPCTSTR);
- CString GetErrorText();
- void SetErrorText(LPCTSTR);
- short GetErrorNum();
- void SetErrorNum(short);
- long GetGetPointer();
- void SetGetPointer(long);
- long GetObjRef();
- void SetObjRef(long);
- BOOL GetFastFetch();
- void SetFastFetch(BOOL);
- short GetPriority();
- void SetPriority(short);
-
- // Operations
- public:
- void Clear();
- BOOL RemoveItem(short sIndex);
- BOOL AddItem(LPCTSTR szSubject, short iIndex);
- BOOL MoveToFolder(LPCTSTR FolderName);
- BOOL RemoveFromFolder(LPCTSTR FolderName);
- BOOL BindWith(long ObjRef);
- void AboutBox();
- };
-
- #endif // __MMSG_H__
-