Question Pop-up Window was moved but its image still left behind.

andrewfam

New member
Joined
Mar 22, 2010
Messages
1
Programming Experience
Beginner
Hi,

I'm using VS 2005 and .NET framework 2.0 SP2 to build an application with a datagridview in it. I'm using Microsoft Word 11.0 Object Library to do the spelling checker on one of the field in datagridview. When it detected a spelling and grammar window would pop-up open on top of the datagridview.

The problem I got was when I moved the pop-up window to the new location, there's still an image of the pop-up window left behind the previous location. The more I moved the more of those copied image would be created on screen.

How I can overcome this problem?

Thanks in advance,
Andrew
 
That means that the UI thread of your app is blocked while the spell checker is open, meaning that it can't repaint the app window. Can you show the code you're using to display the spell checker?
 
Back
Top