Customize toolbar icons

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

chrisbunn
User
Posts: 8
Joined: Thu Feb 03, 2011 2:22 pm

Customize toolbar icons

Post by chrisbunn »

I am trying to find the best way to control the toolbar contents. I read an old post that mentioned configuring a custom toolbar using the viewer and then saving the settings to a file and using the "LoadSettings" method to configure the settings in my application. This works well enough with two exceptions; I can only save the settings with the menu bar turned on and I don't want the menu bar on in my application. The viewer now show the "Download PDF Create Tools" link in the upper right corner and I would not want my users trying to do this from our application. How do I disable the menu bar and the link, or not save those settings to my configuration file.

Thanks,
Chris
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Customize toolbar icons

Post by Corwin - Tracker Sup »

Hi Chris,

One of possible solutions - you can also configure Viewer settings using one of full examples (e.g. Delphi sample - PDFXChangeViewerActiveX.exe). This will help you to make "clear" configuration file, without end user toolbars.
chrisbunn
User
Posts: 8
Joined: Thu Feb 03, 2011 2:22 pm

Re: Customize toolbar icons

Post by chrisbunn »

That seems to resolve the issue.
Thanks.
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: Customize toolbar icons

Post by John - Tracker Supp »

Excellent ;)
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