Disable drop target

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

espens
User
Posts: 45
Joined: Wed Jan 14, 2009 7:31 am

Disable drop target

Post by espens »

Is it possible to disable the drop target? e.g. prevent the user from dropping a PDF file on the document pane? I want to use the feature to prevent the user from opening docs that are not added to our application.

Another option would be to intercept an OpenDoc event and passing back False in DataOut in order to prevent a document from being opened.

If not already implemented, any plans of implementing it?

Regards
Espen
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2449
Joined: Thu Jun 30, 2005 4:11 pm

Re: Disable drop target

Post by Vasyl - PDF-XChange »

This feature can be added in the future.

Now, you can use Viewer Simple SDK for build custom thumbnails view,
and you can use Viewer ActiveX for print/export specified pages.
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.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2449
Joined: Thu Jun 30, 2005 4:11 pm

Re: Disable drop target

Post by Vasyl - PDF-XChange »

New property will be added into the next build (~42)
"General.DenyOpenDocumentsWhenDrop"

You can be use it for disable drop target..
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.