TODO:
Object Map (Very very old):
class CParentWnd : public CWnd, IUnknown
// This object exists to force MFC to keep our main thread alive until all of
// our objects have cleaned themselves up. All objects Addref this object on
// instantiation and Release it when they delete themselves. When there are no
// more outstanding objects, the destructor is called (from Release), where we
// call AfxPostQuitMessage to signal MFC we are done.
// We never call Create on this object so that all Dialogs created with it are
// ownerless. This means they show up in Task Manager, Alt + Tab, and on the taskbar.
class CMapiObjects : public IUnknown
//Container object for holding MAPI objects used by many other objects.
//Can be AddRef'd when used as a shared resource.
//Copy constructor takes an existing CMapiObject and copies MAPI objects from it.
//Copy constructor takes NULL to initialize an empty CMapiObjects object
//Constructor/destructor call MAPIInitialize and MAPIUninitialize.
//Holds IMsgStore, IMAPISession, and IAddrBook
//Uses Get and Set access functions to manage contained objects
class CSingleMAPIPropListCtrl : public CListCtrl, IUnknown
//List Control used to display properties of a single MAPI object.
//Either pass it an LPMAPIPROP on construction, or pass a new object to display through SetMAPIProp
//Hosted by CBaseDialog, which wraps a call to SaveProps in OnSaveProperties
//Supports Sorting through OnColumnClick and MyCompareProc
//Implements
//SetMAPIProp - for setting a new object to display
//SaveProps - persist properties being displayed to a text file
class CHierarchyTableTreeCtrl : public CTreeCtrl, IUnknown
//Tree Control used to display heirarchical LPMAPICONTAINER objects
//Pass an LPMAPICONTAINER in LoadHierarchyTable to initialize
//Hosted by CHierarchyTableDlg
//CHierarchyTableDlg calls LoadHierarchyTable in OnInitDialog and OnRefreshView
//Supports 'lazy' loading through OnItemExpanding
//Supports doubleclick expansion through OnDblclk
//Supports label editing through OnEndLabelEdit - will try HrSetOneProp to change PR_DISPLAY_NAME
//Special Cleanup exposed through OnDestroy
//Does not register for notifications.
//TODO: Add support for notifications
class CContentsTableListCtrl : public CListCtrl, IUnknown
//List Control used to display properties for all items in a LPMAPITABLE
//Pass LPMAPITABLE and container type in SetContentsTable to initialize or reinitialize
//Hosted by CContentsTableDlg
//CContentsTableDlg calls SetContentsTable in OnInitDialog
//MainDlg calls SetContentsTable in OnOpenMessageStoreTable
//Supports column sorting through OnColumnClick and MyCompareProc
//Supports double click invoking of items through OnDblclk
//Supports MAPI notification
//Exposes
// AddItemToListBox - Add
// DeleteItemFromListBox - Delete
// SetSelectedItem - Set focus on an item
// GetIndexFromInstanceKey - Map instance keys to list entries
// for notification level manipulation. These functions are also used internally
//Functions used to get data back:
// GetSelectedItemEID - Returns the entry ID of the selected item
// GetSelectedItemAttachNum - Returns the selected items attach num - used only in CAttachmentsDlg
// GetIndexFromInstanceKey
// GetSelectedItem - Opens the selected item as an IMAPIProp and returns it
//Functions used by the Form Viewer
// GetPrevItemEID - Get EID of the previous item
// GetNextItemEID - Get EID of the Next item
//Properties used by FindRow test code in CContentsTableListCtrl (DoFindRows, OnApplyFindRow)
// m_ftFindRowClientSubmitTime;
// m_ftFindRowMessageDeliveryTime;
// *m_szFindRowSubject;
// m_bFindRowOn;
//Information on currently selected item for the title bar. Used by CContentsTableDlg
// m_szTitleExt
class CBaseDialog : public CDialog, IUnknown
//Base class for all Dialogs in application.
//Implements IUnknown for COM style object memory management.
//AddRef and Release are used to "copy" and "free" objects
//QueryInterface is implemented, but only returns the same object
//Implements CreateDialogAndMenu, which MUST be called to display the dialog
//Contains and manages a CSingleMAPIPropListCtrl object for the right hand pane
//Contains and manages a CStatusBarCtrl
//Implements a few basic Menu and Window commands:
// OnOk: posts ID_DISPLAYSELECTEDITEM
// OnCancel: hide window, release CSingleObjPrpListCtrl, Destroy Window, and release self
// OnExit: calls OnCancel
// OnSaveProperties: calls CSingleObjPrpListCtrl::SaveProps
// OnSize: sizes the CStatusBarCtrl at the bottom and the CSingleMAPIPropListCtrl at the right
// OnInitDialog: call CDialog::OnInitDialog, create CStatusBarCtrl, get icons, new CSingleMAPIPropListCtrl, force resize
//Constuctor for CBaseDialog and all derived objects takes CParentWnd and CMapiObjects in that order
//If a template ID is passed, it is third in the list
class CMyWinApp : public CWinApp
//Our main application object. Creates a CParentWnd and a CBaseDialog object.
//Passes CParentWnd to the CBaseDialog and releases the CParentWnd.
//Relies on COM to clean up the CBaseDialog.
//Normally, CMainDlg is the CBaseDialog created in CWinApp.
class CTableAdviseSink : public INewMailAdviseSink
//MAPI Contents table advise support
//Used by CContentsTableListCtrl to maintain a *current* view of a LPAMAPITABLE
class CNewMailAdviseSink : public INewMailAdviseSink
//MAPI Store new mail notification support
//Goes 'Beep' when new mail arrives
//Used in CMsgStoreDlg::OnNotificationsOn and void CMsgStoreDlg::OnNotificationsOff
class CContentsTableDlg : public CBaseDialog
//Dialog class directly inheritable to display contents tables on MAPI containers
//Hosts CContentsTableListCtrl
class CHierarchyTableDlg : public CBaseDialog
//Dialog class directly inheritable to display heirarchical contents tables on MAPI containers
//Hosts CHierarchyTableTreeCtrl
//Classes which inherit from CContentsTableDlg
class CAbDlg : public CContentsTableDlg
class CAttachmentsDlg : public CContentsTableDlg
class CFolderACLDlg : public CContentsTableDlg
class CFolderDlg : public CContentsTableDlg
class CMailboxTableDlg : public CContentsTableDlg
class CMainDlg : public CContentsTableDlg
class CReceiveDlg : public CContentsTableDlg
class CRecipientsDlg : public CContentsTableDlg
class CStatusDlg : public CContentsTableDlg
//Classes which inherit from CHierarchyTableDlg
class CAbContDlg : public CHierarchyTableDlg
class CMsgStoreDlg : public CHierarchyTableDlg
class CMyMAPIFormViewer :
public IMAPIMessageSite ,
public IMAPIViewContext ,
public IMAPIViewAdviseSink
//MAPI Form Viewer support object.
//Used in CFolderDlg to display forms.
//Depends on GetPrevItemEID and GetNextItemEID from CContentsTableListCtrl for previous and next form
没有合适的资源?快使用搜索试试~ 我知道了~
mfcmapi.zip_mapi_mfcmapi_mfcmapi是什么
共144个文件
h:70个
cpp:50个
txt:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 61 浏览量
2022-09-23
08:27:44
上传
评论
收藏 448KB ZIP 举报
温馨提示
MFCMAPI 是一个相当于 MAPI 示例客户端。 演示了MAPI的接口的使用方法。MAPI接口是由微软公司提供的一系列供使用者开发Mail、Scheduling、bulletin board、communication程序的编程接口。
资源推荐
资源详情
资源评论
收起资源包目录
mfcmapi.zip_mapi_mfcmapi_mfcmapi是什么 (144个子文件)
MFCMapi.aps 44KB
down.bmp 230B
up.bmp 230B
build 6B
MFCMapi.clw 16KB
InterpetProp.cpp 111KB
ContentsTableListCtrl.cpp 52KB
FolderDlg.cpp 48KB
SingleMAPIPropListCtrl.cpp 46KB
MAPIFunctions.cpp 46KB
Editor.cpp 42KB
RestrictEditor.cpp 41KB
MsgStoreDlg.cpp 38KB
HierarchyTableTreeCtrl.cpp 35KB
PropertyEditor.cpp 34KB
MainDlg.cpp 30KB
MAPIProfileFunctions.cpp 29KB
File.cpp 29KB
MFCOutput.cpp 25KB
BaseDialog.cpp 24KB
DumpStore.cpp 23KB
ContentsTableDlg.cpp 23KB
MySecInfo.cpp 22KB
MyMAPIFormViewer.cpp 22KB
MAPIStoreFunctions.cpp 20KB
MAPIABFunctions.cpp 16KB
SortListCtrl.cpp 15KB
MFCUtilityFunctions.cpp 14KB
ProfileListDlg.cpp 12KB
Error.cpp 11KB
StreamEditor.cpp 11KB
Registry.cpp 10KB
MapiObjects.cpp 10KB
MAPIFormFunctions.cpp 10KB
MsgServiceTableDlg.cpp 10KB
FakeSplitter.cpp 8KB
HierarchyTableDlg.cpp 8KB
AbDlg.cpp 7KB
AttachmentsDlg.cpp 7KB
AboutDlg.cpp 7KB
PublicFolderTableDlg.cpp 6KB
TestFunction.cpp 6KB
RulesDlg.cpp 6KB
ImportProcs.cpp 5KB
RecipientsDlg.cpp 5KB
ProviderTableDlg.cpp 5KB
MailboxTableDlg.cpp 5KB
TagArrayEditor.cpp 5KB
MyWinApp.cpp 5KB
StdAfx.cpp 4KB
FileDialogEx.cpp 4KB
AdviseSink.cpp 3KB
ABContDlg.cpp 2KB
ParentWnd.cpp 1KB
Output.cpp 182B
MFCMapi.dsp 21KB
MFCMapi.dsw 713B
strsafe.h 216KB
EMSABTAG.H 90KB
MAPIDefS.h 80KB
EdkMdb.h 65KB
MAPITags.h 53KB
MAPIForm.h 27KB
MAPIUtil.h 26KB
MAPIX.h 18KB
ColumnTags.h 13KB
MAPIGuid.h 11KB
MAPIFunctions.h 10KB
MAPICode.h 9KB
IMessage.h 8KB
resource.h 8KB
MySecInfo.h 7KB
StdAfx.h 6KB
MFCOutput.h 6KB
Error.h 5KB
MSPST.h 5KB
Editor.h 5KB
ContentsTableListCtrl.h 4KB
MyMAPIFormViewer.h 4KB
HierarchyTableTreeCtrl.h 3KB
EdkGuid.h 3KB
MAPIOID.h 3KB
BaseDialog.h 3KB
InterpretProp.h 3KB
MAPIHook.h 3KB
SingleMAPIPropListCtrl.h 3KB
MsgStoreDlg.h 2KB
FolderDlg.h 2KB
ContentsTableDlg.h 2KB
MAPIStoreFunctions.h 2KB
MainDlg.h 2KB
MapiObjects.h 2KB
ExchForm.h 2KB
SortListCtrl.h 2KB
Registry.h 2KB
RestrictEditor.h 1KB
FakeSplitter.h 1KB
MAPIFormFunctions.h 1KB
PropertyEditor.h 1KB
MsgServiceTableDlg.h 1KB
共 144 条
- 1
- 2
资源评论
alvarocfc
- 粉丝: 105
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功