Share via


IMessageFormHostEx

Send Feedback

The IMessageFormHostEx interface is used in the creation of message forms for both composing and reading. Do not implement this interface. It is exposed by the e-mail application, and you call into it only as necessary.

Methods in Vtable Order

IMessageFormHostEx methods Description
FormClosing Called by the IMessageFormEx object when the form is closing.
GetGlobalSetting Gets the value of the global setting from Messaging.
SetGlobalSetting Sets the value of the global setting for Messaging.
DoAction Used to request that Messaging perform a specific action for the plug-in.
CreateNewMessage Creates a new message in the Drafts folder.

Nonvirtual Members

IMessageFormHostEx members Description
CLOSINGMSGSTATUS Enumeration used by IMessageFormHostEx::FormClosing to indicate how to close a message form.
HOSTACTIONS Enumeration used by IMessageFormHostEx::DoAction to indicate the action for Messaging to perform for a plug-in.

Remarks

Use IMessageFormHostEx methods when you want your Messaging plug-in to communicate with the Messaging application.

This interface is provided by the Messaging application when it calls IFormProviderEx::CreateComposeForm or IFormProviderEx::CreateReadForm. IMessageFormHostEx allows the custom form to request that Messaging perform particular actions, such as creating a new message in the drafts folder or handling messages that are not handled by the custom form.

Requirements

Pocket PC: Windows Mobile 2003 and later
Smartphone: Windows Mobile 2003 and later
OS Versions: Windows CE .NET 4.2 and later
Header: cemapi.h
Library: cemapi.lib

See Also

IFormProviderEx::CreateComposeForm | IFormProviderEx::CreateReadForm | MAPI Interfaces | Messaging

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.