disable "Open existing document by double clicking here"

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

docu-track99
User
Posts: 518
Joined: Thu Dec 06, 2007 8:13 pm

disable "Open existing document by double clicking here"

Post by docu-track99 »

In the pdf control when there is no pdf loaded you can see text in the background saying "You may open an existing document by double clicking here". Double clicking will then open an open dialog and allow the user to open any pdf they wish. However we need to be in full control of every way a user can open a pdf. We would like to disable this feature but we are not sure how. Is there a way to disable this feature and if so what code would I use to do it? Thanks.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: disable "Open existing document by double clicking here"

Post by Vasyl - PDF-XChange »

You can disable this feature as follows :
SetProperty("General.AllowOpenDocumentByDblClick", "false", 0);
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.