Hi,
I am printing the form. The code is 100% accurate. It is the same as in
MSDN, but in C#.
http://msdn.microsoft.com/library/de...intingForm.asp
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?
Thanks,
Tatiana