PrintPreviewDialog

  • Thread starter Thread starter max
  • Start date Start date
M

max

How do you get a Cancel button on a PrintPreviewDialog object???

Thanks
--max
 
How do you get a Cancel button on a PrintPreviewDialog object???

The dialog actually has a "Close" button embedded in its toolbar.
 
So does that mean I can look for "Close" and if the user hits the X in
the upper right corner that's like Cancel???

Thanks
--max
 
So does that mean I can look for "Close" and if the user hits the X in
the upper right corner that's like Cancel???

Yes, pressing the "Close" button returns 'DialogResult.Cancel' too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top