How to lock/disable "Menu" bar

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

cew
User
Posts: 213
Joined: Tue Feb 01, 2011 8:14 am

How to lock/disable "Menu" bar

Post by cew »

Hi all,

how can I completely hide the existance of the "Menu"-bar?

I like the behaviour that "Offline" commands are not visible in the customizations Command-list.
Is that also possible for bars?


Best regards
cew
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: How to lock/disable "Menu" bar

Post by Vasyl - PDF-XChange »

Hi, cew.

In current version you may hide menu bar (and any other toobar) in GUI by:

Code: Select all

ctrl.SetProperty("View.Bars["Menu"].Visible", "false");
and turn off the "Show/Hide Menu bar" UI-command:

Code: Select all

ctrl.SetProperty("Commands["ToggleMenuBar"].State", "Offline");
No way for full remove of menu/toolbar from our GUI. You will be able to do it in the new version only (V3).

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.
cew
User
Posts: 213
Joined: Tue Feb 01, 2011 8:14 am

Re: How to lock/disable "Menu" bar

Post by cew »

Hi,

for the first step this workaround is ok.
Let's wait for 3.0 :wink:

Best
cew
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: How to lock/disable "Menu" bar

Post by John - Tracker Supp »

Thanks for your patience.
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