Link to home
Start Free TrialLog in
Avatar of pcasxd0
pcasxd0

asked on

How to know the target application in drag and drop

When I am dragging a file to drop on a particular application, how can I set restrictions? For instance, I want to drop a URL on to only a web browser.. All other applications over which I drag this item should display a circle with a cross bar. How to do this?
ASKER CERTIFIED SOLUTION
Avatar of eugenem
eugenem

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pcasxd0
pcasxd0

ASKER

Is there a clipboard format to specify that we are dropping a URL? I was trying to drop it in a DROPFILES format (CF_HDROP). If there is a specific format for dropping URLs exclusively, then, all applications except web browsers would reject the drop. Any ideas?