修改HTMLBody内联响应。闪烁效果 [英] Modify HTMLBody Inline Response. Flickering effect

查看:103
本文介绍了修改HTMLBody内联响应。闪烁效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用Outlook Addin在打开进行编辑时,从电子邮件中添加或替换html正文中的文本。



我附加到  Explorer.InlineResponse  
函数来管理此操作。



问题是,当  mailItem.HTMLBody  属性
设置(当阅读窗格中显示电子邮件时)窗口在其开头处产生令人不快的闪烁。



Explorer.InlineResponse -
显示电子邮件文本之前 - 这可以避免这种影响吗?



我不知道我是否足够清楚。



任何建议或指示都将受到高度赞赏。



谢谢。

解决方案

您好,


其中你有邮件项目实例吗?它来自
InlineResponse 
 事件处理程序参数?


尝试使用
Explorer.SelectionChange
。它被解雇  当用户以编程方式选择不同的或额外的Microsoft Outlook项目或通过与用户界面交互来选择
时。


你也可以找到  MailItem.Reply   event
help。它被解雇 
当用户选择  回复   action
for item,或者 
回复  方法
为项目调用,该项目是父对象的实例。 



I'm working on an Outlook Addin that adds or replace a text from html body from email when is opened to edit.

I attached to Explorer.InlineResponse a function to manage this action.

The problem is that when the mailItem.HTMLBody property is set (when email is shown in Reading Pane) window makes and unpleasant flickering at its opening.

Exists a event handler previous to Explorer.InlineResponse- before email text is displayed- that avoid this effect?

I don't know if I'm clear enough.

Any advise or direction would be highly appreciated.

Thank You.

解决方案

Hello,

Where did you get a mail item instance? Does it come from the InlineResponse  event handler parameters?

Try using Explorer.SelectionChange. It is fired when the user selects a different or additional Microsoft Outlook item programmatically or by interacting with the user interface.

Also you may find the MailItem.Reply event helpful. It is fired when the user selects the Reply action for an item, or when the Reply method is called for the item, which is an instance of the parent object. 


这篇关于修改HTMLBody内联响应。闪烁效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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