Hide 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

alin.iordache
User
Posts: 1
Joined: Tue Oct 11, 2011 8:16 am

Hide toolbar buttons

Post by alin.iordache »

Hello,
We want to programmatically hide some of the buttons from the standard toolbars (File, Find, etc.) but we could not find any reference to this functionality anywhere in the documentation. I believe we should call SetProperty with a certain verb that we could not identify.

Please note that we are using the PDF-XChange Viewer ActiveX 2.5.197.

Thanks.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Hide toolbar buttons

Post by Stefan - PDF-XChange »

Hello Alin Iordache,

I need to double check that with the guys in our dev team, but I don't think you can hide just a particular command from the main menu. You can hide the whole menu completely, and then provide in your main application window only the commands that you want, and when your users click those buttons - you should have no problems to call the respective command in the Viewer AX via code.

Best,
Stefan