Interface customization

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

entropics
User
Posts: 10
Joined: Wed Jul 02, 2014 7:00 am

Interface customization

Post by entropics »

Hi,
We are currently testing the demo version of your SDK (ActiveX version) and there are two things we'd like to achieve but don't know how to.

1) We removed some of the toolbars in the default GUI, and we'd like to prevent the user to manually add a hidden toolbar. However, we don't know how to hide the "Customize toolbars" option?
We tried to use the "LockAllCmdBars" command, with no luck.

2) In the thumbnail pane, is there a way of removing the default buttons?

Thanks for your help
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: Interface customization

Post by Vasyl - PDF-XChange »

Hi entropics.
However, we don't know how to hide the "Customize toolbars" option?
Try it:

Code: Select all

pdfViewer.SetProperty("View.LockAllBars", 1);
pdfViewer.SetProperty("Commands["LockAllCmdBars"].State", "Offline");
2) In the thumbnail pane, is there a way of removing the default buttons?
No way for that. You may turn on/off the next document's toolbars:
"Options"
"PagesNavigation"
"PagesLayout"
"Launch"

HTH.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.