Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Windows form in Inspector

Geek News

Windows form in Inspector
Rog <rog_21[ at ]yahoo.com> 3/16/2006 9:54:46 PM
I have a button on an inspector that opens a windows form.
Problem is when the form opens and word is the email editor then when
you move the windows form around it paints everything behind it white.
If Word is not the email editor then it works ok.
Any ideas for this?
I tried invalidating the windows form when it was drawn with no luck.
Thanks
Re: Windows form in Inspector
Rog <rog_21[ at ]yahoo.com> 3/17/2006 2:55:50 PM
I ended up solving this problem by placing the showing of the windows
form in a thread.
It seems if using a Mail Inspector and you have something displaying on
the main UI thread it will cause the Mail Inspector to be painted white
as you move the windows form around.
I put the windows form display on a separate thread and all is good.
Thanks

Rog wrote:
[Quoted Text]
> I have a button on an inspector that opens a windows form.
> Problem is when the form opens and word is the email editor then when
> you move the windows form around it paints everything behind it white.
> If Word is not the email editor then it works ok.
> Any ideas for this?
> I tried invalidating the windows form when it was drawn with no luck.
> Thanks

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net