469,648 Members | 1,527 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,648 developers. It's quick & easy.

Form freezes during printing if something is on the top


I am printing the form. The code is 100% accurate. It is the same as in
MSDN, but in C#.


What happens is that if during printing any window happens to be on the top
of the form from where I do printing (like cancel printing confirmation, or
opening notepad while printing), the form freezes, and it doesn't get
repainted. This pertains to all forms from where printing is done. The other
interesting thing is that it used to work. Then it started acting out on one
form, then it started acting out on the other form.

If there is no any application opened on the top, it works like a charm.

I created a dummy project and it all works well.

To rule out the corruption of the project, I rebuilt the project,
copy-pasted the code from the old project, and it does the same.

Any ideas?



Nov 16 '05 #1
0 1180

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Ellen Manning | last post: by
reply views Thread by Enterprise | last post: by
reply views Thread by Marcin Szarek | last post: by
13 posts views Thread by Edwin Smith | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.