我在Messagin应用程序中的文本。 MAPI [英] My Text in Messagin application. MAPI

查看:96
本文介绍了我在Messagin应用程序中的文本。 MAPI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

在消息传递应用程序中是否有人知道如何检索我的文本。我已经为消息传递创建了自定义表单并启用了我的文本。调用DoAction,但MSDN文档建议(参见备注)

actForm 中使用 FORMACT_MY_TEXT_MESSAGE 时,无法确定选择了哪条消息。
有没有人为此工作?


关于,

Sumedh。

解决方案

MSDN文档确实开始"无法确定选择了哪个消息......"但接下来它继续你的问题的答案:

"...除非你在调用 IMessageFormEx :: DoAction 之前保存邮件的文本正文 ,然后在调用后执行比较。"

FORMACTIONS 的文档重述解决方案:

"注意确定插入了哪些预定义文本消息的唯一方法是在
调用 IMessageFormEx :: DoAction 之前保存消息的文本正文,然后执行比较电话。"


那么,你能在调用DoAction之前保存文本吗?您是否能够将通话前的文本与通话后的文本进行比较?


Hi All,

Does anybody know how to retrieve My text, in messaging application. I have created custom form for messaging and have My text enabled. DoAction is called, but MSDN document suggest that (See remarks) 

When you use FORMACT_MY_TEXT_MESSAGE in actForm, there is no way to determine which message was selected.
Did anybody worked upon this?


With regards,

Sumedh.

解决方案

The MSDN documentation does start "there is no way to determine which message was selected..." but then it continues with the answer to your question:

"...unless you to save the message's text body before calling IMessageFormEx::DoAction, and then perform a comparison after the call."

The documentation for FORMACTIONS restates the solution:

"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."

So, were you able to save the text before calling DoAction? Were you able to compare the text from before the call to the text after the call?


这篇关于我在Messagin应用程序中的文本。 MAPI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆