-
February 28th, 2013, 05:16 AM
#1
printDialog focus problem
Previously i am using the code
DialogResult res = dlgPrint.ShowDialog();
if (res == DialogResult.OK)
{
// print the image.
document.Print();
}
when i use this code i am getting the problem of lost focus to print window.
If i use begininvoke() method to get focus on print window. when i clicked on print button i am not able to capture the result and print the document.
I had used the
PrintDialog dlgPrint = new PrintDialog();
dlgPrint.Document = document;
ShowThePrintDialog printD = new ShowThePrintDialog(dlgPrint.ShowDialog);
this.BeginInvoke(printD);
but not working
-
February 28th, 2013, 05:38 AM
#2
Re: printDialog focus problem
[ Moved ]
Please do not revive old threads.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|