Toolbar buttons

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

ToddM
User
Posts: 4
Joined: Wed Nov 04, 2009 4:25 pm

Toolbar buttons

Post by ToddM »

I can enable/disable individual toolbar buttons, but is it possible to hide/remove buttons from the toolbars?
User avatar
Chris - PDF-XChange
Site Admin
Posts: 798
Joined: Tue Apr 14, 2009 11:33 pm

Re: Toolbar buttons

Post by Chris - PDF-XChange »

Hi Todd,

Please, look at the examples which are included in Viewer ActiveX SDK. Example called "View" demonstrates how you can show or hide any Viewer toolbar or panel.

HTH,
Chris
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.


Chris Attrell
Tracker Sales & Support North America
http://www.tracker-software.com
ToddM
User
Posts: 4
Joined: Wed Nov 04, 2009 4:25 pm

Re: Toolbar buttons

Post by ToddM »

Chris,

I see how to show/hide toolbars and panels, but I want to restrict which buttons on the toolbar are visible. I can see from the examples how to enable/disable the individual buttons but is it possible to hide/remove the buttons (not the toolbars/panels) so they are not visible to the end-user?
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Toolbar buttons

Post by Vasyl - PDF-XChange »

Hi Todd,

You may customize UI(and all other parameters) manually and save all customized settings into a file by
SaveSettings routine (look to ActiveX SDK Help), or by 'Menu->Edit->Export All Settings to Data File' menu-command. After this you may use the LoadSettings for load all customized settings from settings-file at each start of your end-user application.

For customize all toolbars/menu you may use the "Customize" dialog (right-click on any global toolbar, "Customize" item).

In the next version we will to add features for add/remove tool-buttons directly.

Cheers
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.