Show menu bars...

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

lidds
User
Posts: 514
Joined: Sat May 16, 2009 1:55 pm

Show menu bars...

Post by lidds »

I have just downloaded the PDF-Xchange Activex SDK, and I having a slight problem. How am able to display all the menubars.

Installed with the product is a demo project that allows you to select the menubars to be shown, what I am having a problem with is finding the code that controls the display of these menu bars?

Thanks in advance

Simon

P.S. I am using VB.Net
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Show menu bars...

Post by Corwin - Tracker Sup »

To show Menu bar you may use

Code: Select all

AxCoPDFXCview1.SetProperty("View.Bars[""Menu""].Visible", 1)
For fast toggle all bars you may use

Code: Select all

AxCoPDFXCview1.DoVerb(Nothing, "ExecuteCommand", 33016, Nothing)
All needed information about how to work with UI you can find in Help file in "Reference->Named Items->Named Objects->View" topic.

HTH
Last edited by Corwin - Tracker Sup on Mon May 18, 2009 5:03 pm, edited 1 time in total.