LoadSetting function

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

MikeHolik
User
Posts: 6
Joined: Thu Jan 11, 2007 8:37 pm

LoadSetting function

Post by MikeHolik »

When our application calls LoadSettings with a file we receive the following error message "The User Interface of the application is locked". If I use your demo program and LoadSettings with the same file everything works as expected.

Any ideas, suggestions would be appreciated.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: LoadSetting function

Post by Stefan - PDF-XChange »

Hello Mike Holik,

Please check section
2.1.2.1.2 LockedView
Of the Viewer AX Manual,
As before loading those settings you will need to call get_LockedView() and based on the returned result the put_LockedView() methods - to allow the changes from the settings file to take effect.

Best,
Stefan