开发者

TaskPane does not draw, appears blank

开发者 https://www.devze.com 2023-02-27 08:37 出处:网络
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 (i开发者_运维技巧n the form of

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 (i开发者_运维技巧n 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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消