PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins Windows form in Inspector

Reply

Windows form in Inspector

 
Thread Tools Rate Thread
Old 16-03-2006, 09:54 PM   #1
Rog
Guest
 
Posts: n/a
Default Windows form in Inspector


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
  Reply With Quote
Old 17-03-2006, 02:55 PM   #2
Rog
Guest
 
Posts: n/a
Default Re: Windows form in Inspector

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:
> 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

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off