I'm testing the Viewer SDK ActiveX, and I noticed that even though I have set PXCVA_Flags.PXCVA_NoUI when using PrintDocument,
I still see a progress bar during printing.
pdfx.PrintDocument pdfId, PXCVA_Flags.PXCVA_NoUI
How do I turn off the Progress bar ?
Disabling (hiding) printer progress bar in ActiveX
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Disabling (hiding) printer progress bar in ActiveX
The pseudo-code for deny progress displaying:
SetProperty("General.DenyProgressDisplaying", true, 0);
SetProperty("General.DenyProgressDisplaying", true, 0);
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Re: Disabling (hiding) printer progress bar in ActiveX
Great, thanks.
By the way, the help file states:
As in my other post, for the next release I'd like to see these verbs as an Enum/Type/ etc.
so we can take advantage of our Object-based IDEs.
By the way, the help file states:
I believe the default is actually "0" False.Allow/deny progress dialog displaying.
For possible named values, see the Booleans.
Default value is 1 (progress displaying allowed).
As in my other post, for the next release I'd like to see these verbs as an Enum/Type/ etc.
so we can take advantage of our Object-based IDEs.
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Disabling (hiding) printer progress bar in ActiveX
The name of verb "General.DenyProgressDisplaying" represents the special property which located in objects TREE as:As in my other post, for the next release I'd like to see these verbs as an Enum/Type/ etc.
General (Collection of simple properties and other collections)
...
|-- DenyProgressDisplaying (Simple Boolean Property)
...
The our objects tree cannot be interpreted as simple Enum/Type/ etc.
Also you can use variant of call (use named value):
SetProperty("General.DenyProgressDisplaying", "True", 0);
For details about objects tree, look to ActiveX documentation.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Re: Disabling (hiding) printer progress bar in ActiveX
I ended up just building my own VB Class, so that I can
avoid having to type in exact text and instead can use my IDE.
So I can now do this:
MyPDF.DenyProgress
which evaluates to "General.DenyProgressDisplaying"
avoid having to type in exact text and instead can use my IDE.
So I can now do this:
MyPDF.DenyProgress
which evaluates to "General.DenyProgressDisplaying"
- John - Tracker Supp
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
- Contact:
Re: Disabling (hiding) printer progress bar in ActiveX
Pleased you came up with a solution
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
Re: Disabling (hiding) printer progress bar in ActiveX
Actually, I'm going one step further and building my own User Control.
So I can do this:
PDFX.DenyProgress=True
etc.
So I can do this:
PDFX.DenyProgress=True
etc.
- John - Tracker Supp
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
- Contact:
Re: Disabling (hiding) printer progress bar in ActiveX
Cool
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com