Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The FORMACTIONSenumeration defines the set of possible actions specified in IMessageFormEx::DoActionthat Messaging can request the message form to perform.
Syntax
enum FORMACTIONS { FORMACT_NULL = 0, FORMACT_FIRST = 0, FORMACT_POSTPONE = 1, FORMACT_COPY = 2, FORMACT_CUT = 3, FORMACT_PASTE = 4, FORMACT_SELECT_ALL = 5, FORMACT_CLEAR = 6, FORMACT_DELETE = 7, FORMACT_FORWARD = 8, FORMACT_REPLY = 9, FORMACT_REPLY_TO_ALL = 10, FORMACT_SEND = 11, FORMACT_MARK_AS_UNREAD = 12, FORMACT_MARK_FOR_DOWNLOAD = 13, FORMACT_MOVE_TO = 14, FORMACT_LANGUAGE = 15, FORMACT_ADD_ATTACHMENT = 16, FORMACT_SPELL_CHECK = 17, FORMACT_CHECK_NAMES = 18, FORMACT_OPTIONS = 19, FORMACT_MY_TEXT_MESSAGE = 20, FORMACT_MY_TEXT_MESSAGES_EDIT = 21, FORMACT_MEETING_ACCEPT = 22, FORMACT_MEETING_DECLINE = 23, FORMACT_MEETING_TENTATIVE = 24, FORMACT_MEETING_REMOVE_FROM_CALENDAR = 25, FORMACT_CONTACTS_PICKER = 26, FORMACT_VOICE_RECORDER = 27, FORMACT_CALL_VOICEMAIL = 30, FORMACT_VCARD_ACCEPT = 31, FORMACT_SET_FOLLOW_UP_FLAG = 32, FORMACT_COMPLETE_FOLLOW_UP_FLAG = 33, FORMACT_CLEAR_FOLLOW_UP_FLAG = 34, FORMACT_TOGGLE_FOLLOW_UP_FLAG = 35, FORMACT_VIEW_SMALLEST = 36, FORMACT_VIEW_SMALLER = 37, FORMACT_VIEW_NORMAL = 38, FORMACT_VIEW_LARGER = 39, FORMACT_VIEW_LARGEST = 40, FORMACT_GET_HTML = 41, FORMACT_SAVE = 43, FORMACT_LAST }; |
Enumerators
- FORMACT_NULL
-
Perform no message form action.
- FORMACT_FIRST
-
The placeholder that marks the first element in the enumeration range.
- FORMACT_POSTPONE
-
Postpone the message form action. When composing, a copy of the message is saved in the Drafts folder.
- FORMACT_COPY
-
Copy the selected text from the message form, placing it in the Clipboard.
- FORMACT_CUT
-
Cut the selected text from the message form, placing it in the Clipboard.
- FORMACT_PASTE
-
Paste the contents of the Clipboard into the message form at the current cursor position.
- FORMACT_SELECT_ALL
-
Select all text in the message form.
- FORMACT_CLEAR
-
Clear all fields in the message form.
- FORMACT_DELETE
-
Delete the message.
- FORMACT_FORWARD
-
Forward the message.
- FORMACT_REPLY
-
Reply to the message. (Call IFormProviderEx::CreateComposeFormwith the sender's address.)
- FORMACT_REPLY_TO_ALL
-
Reply to the message. (Call IFormProviderEx::CreateComposeFormwith all recipient addresses.)
- FORMACT_SEND
-
Send message.
- FORMACT_MARK_AS_UNREAD
-
Unmark a message that has been marked as READ.
- FORMACT_MARK_FOR_DOWNLOAD
-
Tag a message header for download.
- FORMACT_MOVE_TO
-
Move the message to another container (folder).
- FORMACT_LANGUAGE
-
Set the language of the user interface displayed on the device.
- FORMACT_ADD_ATTACHMENT
-
Add an attachment to the message.
- FORMACT_SPELL_CHECK
-
Check the spelling of the contents of the message.
- FORMACT_CHECK_NAMES
-
Verify the recipient's addresses against those stored in Contacts.
- FORMACT_OPTIONS
-
Set form options.
- FORMACT_MY_TEXT_MESSAGE
-
Triggers a shell function to launch the My Text menu, allowing the user to select one of the preset text messages, and insert it into the message body, at the current cursor position.
Note: The only way to determine which of the predefined text messages was inserted, is to save the message's text body before calling IMessageFormEx::DoAction, and then perform a comparison after the call.
- FORMACT_MY_TEXT_MESSAGES_EDIT
-
Edit one of the preset text messages.
- FORMACT_MEETING_ACCEPT
-
Accept a meeting invitation.
- FORMACT_MEETING_DECLINE
-
Refuse a meeting invitation.
- FORMACT_MEETING_TENTATIVE
-
Tentatively accept a meeting invitation.
- FORMACT_MEETING_REMOVE_FROM_CALENDAR
-
Remove a previously scheduled meeting from Calendar.
- FORMACT_CONTACTS_PICKER
-
Show the Contacts list for contact selection.
- FORMACT_VOICE_RECORDER
-
Show the voice bar.
- FORMACT_CALL_VOICEMAIL
-
Call the voice mail number.
- FORMACT_VCARD_ACCEPT
-
Accept the vCard that has arrived as an SMS attachment.
- FORMACT_SET_FOLLOW_UP_FLAG
-
Mark the message for follow-up with a red flag.
- FORMACT_COMPLETE_FOLLOW_UP_FLAG
-
Mark the message with a Completed flag.
- FORMACT_CLEAR_FOLLOW_UP_FLAG
-
Remove any follow-up flag from this message.
- FORMACT_TOGGLE_FOLLOW_UP_FLAG
-
If the message has no follow-up flag, or if it is marked with a Completed flag, then mark it for follow-up with a red flag. If the message already has a follow-up flag, then mark it with a Completed flag.
- FORMACT_VIEW_SMALLEST
-
Change the view to display this HTML e-mail message's text in the Smallest relative size.
- FORMACT_VIEW_SMALLER
-
Change the view to display this HTML e-mail message's text in the Smaller relative size.
- FORMACT_VIEW_NORMAL
-
Change the view to display this HTML e-mail message's text in the Normal relative size.
- FORMACT_VIEW_LARGER
-
Change the view to display this HTML e-mail message's text in the Larger relative size.
- FORMACT_VIEW_LARGEST
-
Change the view to display this HTML e-mail message's text in the Largest relative size.
- FORMACT_GET_HTML
-
Retrieve the HTML version of the message. Assumes the user has already retrieved the Plain Text version. The message's native format is HTML.
- FORMACT_SAVE
-
Save the message. This should be used prior to invoking another application which might access the message.
- FORMACT_LAST
-
The placeholder that marks the last element in the enumeration range.
Requirements
Header | cemapi.h |
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 |