File Drag and Drop (C++)

raquor

Newcomer
Joined
Jul 14, 2005
Messages
1
Hello all-

I am trying to implement File Drag and Drop for an App I am working on. I want to drag a custom file type onto the program and have it automatically open. Unfortunately I have had no luck with this so far. I keep getting an error about Drag and Drop registration having failed.

I have tried setting AllowDrop to True on the main form and implementing the events for DragEnter and DragDrop but I continue to get the error. Is it not possible to implement this for the main window...I have a tab control on the form...should I be trying to enable the drop functionality on that instead?

Any help would be greatly appreciated.

Thanks-
raquor
 
Back
Top