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

  1. #ifndef __MSESS_H__
  2. #define __MSESS_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. // CMSess wrapper class
  11.  
  12. class CMSess : public CWnd
  13. {
  14. protected:
  15.     DECLARE_DYNCREATE(CMSess)
  16. public:
  17.     CLSID const& GetClsid()
  18.     {
  19.         static CLSID const clsid
  20.             = { 0x6d3c54ea, 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 GetLogonUI();
  40.     void SetLogonUI(BOOL);
  41.     CString GetUser();
  42.     void SetUser(LPCTSTR);
  43.     CString GetPassword();
  44.     void SetPassword(LPCTSTR);
  45.     BOOL GetNewSession();
  46.     void SetNewSession(BOOL);
  47.     BOOL GetDisplayErrors();
  48.     void SetDisplayErrors(BOOL);
  49.     BOOL GetDownLoadMsg();
  50.     void SetDownLoadMsg(BOOL);
  51.     short GetMail_Type();
  52.     void SetMail_Type(short);
  53.     BOOL GetLogon();
  54.     void SetLogon(BOOL);
  55.     CString GetErrorText();
  56.     void SetErrorText(LPCTSTR);
  57.     short GetErrorNum();
  58.     void SetErrorNum(short);
  59.     CString GetDefaultPath();
  60.     void SetDefaultPath(LPCTSTR);
  61.     CString GetPOPath();
  62.     void SetPOPath(LPCTSTR);
  63.     CString GetCurrentFolder();
  64.     void SetCurrentFolder(LPCTSTR);
  65.     CString GetChangePassword();
  66.     void SetChangePassword(LPCTSTR);
  67.     CString GetReturnAddress();
  68.     void SetReturnAddress(LPCTSTR);
  69.     CString GetSMTPServer();
  70.     void SetSMTPServer(LPCTSTR);
  71.     BOOL GetLeaveMailOnServer();
  72.     void SetLeaveMailOnServer(BOOL);
  73.     CString GetPOPServer();
  74.     void SetPOPServer(LPCTSTR);
  75.     CString GetRealName();
  76.     void SetRealName(LPCTSTR);
  77.     short GetAction();
  78.     void SetAction(short);
  79.     CString GetMapiCustomLibName();
  80.     void SetMapiCustomLibName(LPCTSTR);
  81.     long GetFolderCount();
  82.     void SetFolderCount(long);
  83.     long GetFolderNum();
  84.     void SetFolderNum(long);
  85.     long GetObjRef();
  86.     void SetObjRef(long);
  87.     CString GetCurrentUser();
  88.     void SetCurrentUser(LPCTSTR);
  89.  
  90. // Operations
  91. public:
  92.     BOOL MailLogon(BOOL bAction);
  93.     BOOL IsLogon();
  94.     BOOL InvokeDialogConfig();
  95.     BOOL NewMessages();
  96.     void AboutBox();
  97. };
  98.  
  99. #endif // __MSESS_H__
  100.