Partager via


IMessageFormEx

4/8/2010

The IMessageFormEx interface allows you to control of the Message Form associated with a Messaging plug-in.

Methods in Vtable Order

IMessageFormEx methods Description

IMessageFormEx::SetMessage

Called by the Messaging Application to set the form to display a new message.

IMessageFormEx::CloseForm

Called by the Messaging Application to closes the form.

IMessageFormEx::PreTranslateMsg

Enables the Message Form to pre-translate messages received by the message pump in the Messaging Application

IMessageFormEx::OnMessageModified

Notifies the Message Form whenever an IMessage object changes.

IMessageFormEx::DoAction

Called by the Messaging Application whenever one of the Form Menu Commands of the Messaging plug-in is selected.

IMessageFormEx::GetMenuCapabilities

Queried by the Messaging Application to get the list of menu commands that the Messaging plug-in supports.

Nonvirtual Members

IMessageFormEx members Description

IMessageFormEx::FORMACTIONS

Enumeration that defines the set of possible actions specified in IMessageFormEx::DoAction that the Messaging Application can request a Message Form perform.

Remarks

Implement IMessageFormEx when you want to extend the capabilities of the Messaging Application with a new plug-in that supports new transports such as Enhanced Messaging Service (EMS), or Multimedia Messaging Service (MMS).

Use the IMessageFormEx interface to communicate with the Read and Compose Message Forms, to query the plug-in for its supported commands, process its commands, etc.

Requirements

Header cemapi.h
Library cemapi.lib
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Pocket PC for Windows Mobile 2003 and later, Smartphone for Windows Mobile 2003 and later

See Also

Other Resources

MAPI Interfaces
Messaging