User login

Donate

Donate for server costs [more]

Target:
$ 3000
Achieved:
$ 186.3
Fees:
$ 13.36
6.2 %
Donate
SourceForge.net Logo

How to identify user clicks on Cancel button in pdfcreator print dialog? or disable the Cancel button in print dialog

3 replies [Last post]
tcemurali
Offline
Joined: 10/10/2009

I am trying to identify if the user clicks on "Cancel button" in the pdfcreator print dialog. Can any body help?

__________________

Murali S

Frank
Frank's picture
Offline
DeveloperTranslator
Joined: 03/22/2009

Why? What do you want to do?

__________________

Frank
Team pdfforge

tcemurali
Offline
Joined: 10/10/2009

I am developing an application using .net that lets the user to print a doc to pdfprinter in two modes,

1. Using AutoSave option where user will not be shown pdfprinter print-dialogue

2.With autosave option -where the user will be able to preview through pdfprinter printdialog . Now when the user clicks "OK" on pdfprinter printdialog, i have no issues as the doc gets printed to pdfprinter. But when the user clicks "Cancel" button, i am unable to determine it. There is a piece of .net code that keeps checking if the pdf file is created or not without knowing "Cancel" is clicked.

Please let me know how do i know that "Cancel" button is clicked so that i could skip checking for pdf file.

 

__________________

Murali S

tcemurali
Offline
Joined: 10/10/2009

Any updates on this?

__________________

Murali S

© pdfforge.org :: Contact us :: Sitemap