任务窗格不绘制,显示为空白
我发现运行 Outlook 2007 的 Windows 7 系统中的模态检查器存在一个非常具体的问题。我正在开发一个插件,它将功能区按钮和用户控件(以任务窗格的形式)放入电子邮件撰写窗口中。
问题是:在特定设置下(Outlook 2007 已在运行),当用户尝试从外部启动电子邮件撰写窗口时(这可以通过 Adobe Reader 或许多其他应用程序中的“通过电子邮件发送”)。
附加到表单右侧的任务窗格有半随机机会不绘制并且仅显示为空白。
我准备了一个示例解决方案,可以减少所有不必要的脂肪,如果您查看 bin>debug 文件夹,有一个可立即运行的示例来演示问题
http://www.mediafire.com/file/ctmsbba09n6u0vp/MissingPaneExample.zip
I discovered a very specific issue with modal Inspectors in Windows 7 systems running Outlook 2007. I'm developing an addin that places a ribbon button and UserControl (in the form of a taskPane) into the email-compose window.
The issue is: with that specific setup, (with Outlook 2007 already running) when the user attempts to launch an email-compose window externally (this can be through 'send via email' in Adobe Reader or many other applications).
The TaskPane that appears appended to the right-side of the form has a semi-random chance to not draw and simply appear blank.
I have prepared a sample solution that trims down all the unnecessary fat, if you look in the bin>debug folder, there is a ready-to-run sample to demonstrate the issue
http://www.mediafire.com/file/ctmsbba09n6u0vp/MissingPaneExample.zip
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果它绘制为空白,那么如果您调整自定义任务窗格的大小,它还会绘制吗?
我遇到了一些问题,在某些情况下无法绘制,我的解决方法是放置一个 this.Width++;在控件的加载事件中,这相当麻烦,但过去对我有用。
If it draws blank, will it draw if you resize the custom task pane?
I have had issues around it not drawing in certain scenario's, and my work around has been to put a this.Width++; in the load event of the control, quite a hack, but has worked for me in the past.