Exit Menu Item and About Menu Item

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

ashley3289
User
Posts: 37
Joined: Wed Feb 10, 2010 10:58 pm

Exit Menu Item and About Menu Item

Post by ashley3289 »

I am user the PDF-XChange Viewer SDK version 2.5.194.0 in my .Net application. I have the file menu enabled but the Exit menu item is disable. My questions are as follows.

1. How can I enable the Exit menu item and program this so that if the user is chooses this option it will close the parent form of the PDF Viewer control?

2. If number 1 is not possible then how can I hide the Exit menu item so that end user will not see it.

3. How can I hide the About menu item so that end user will not see it as well?

4. If any of these items applys to version 3 when will it be available?

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

Re: Exit Menu Item and About Menu Item

Post by Stefan - PDF-XChange »

Hello Ashley,

You can not enable the "Exit" command, but you can modify the Viewer interface to remove it from the File drop down menu.

Please open our end user Viewer, and then go to View -> Toolbars -> Customize Toolbars...
With this window open you can now drag components from any toolbar (including the main menu) - and if you drop them outside the menu area - they would be removed.

Once done with your customizations - export all settings to a data file (Edit -> Export all settings to data file...), and then distribute that file with your application, and make sure to load it with the LoadSettings() method when loading the Viewer control.

The About menu should not be removed however.

Best,
Stefan
You do not have the required permissions to view the files attached to this post.