Hello,
I use your control as viewer and allow the user to change some things like inserting notes...
...this will work great!
BUT how can I disable your OLE Drag & Drop Feature? Because with this feature the user can change the complete PDF and overwrite the original in my database!
Or (perfect solution!) is it possible to detect, if the user will Drop a file to the viewer - so I can call "Cancel = True", if I don't want to allow this document to drop!?
In your helpfilfe I can't find anything about Drag & Drop...
How to disable Drag & Drop?
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- Site Admin
- Posts: 2449
- Joined: Thu Jun 30, 2005 4:11 pm
Re: How to disable Drag & Drop?
You can use new property (default value is 0):
"General.DenyOpenDocumentsWhenDrop"
"General.DenyOpenDocumentsWhenDrop"
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 275
- Joined: Mon Aug 04, 2008 5:04 pm
Re: How to disable Drag & Drop?
Thank you, but is there any way to detect only a "DragOver"-Event?
I need this Event to process my own Drag&Drop-functionality.
Or can I get the Handle (hwnd) of the ViewerControl - if this is possible, I can catch the DragDrop event by my own SubClass(!).
I'm very very thankful for any hint...
I need this Event to process my own Drag&Drop-functionality.
Or can I get the Handle (hwnd) of the ViewerControl - if this is possible, I can catch the DragDrop event by my own SubClass(!).
I'm very very thankful for any hint...
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: How to disable Drag & Drop?
Sorry, but for now, there is no way to do this.Thank you, but is there any way to detect only a "DragOver"-Event?
This feature will be available in a forthcoming build.