Hi All. How to hook DragNDrop ?

contains all delphi packages mentioned below
Post Reply
power888
Posts: 54
Joined: Sat May 23, 2009 8:55 am

Hi All. How to hook DragNDrop ?

Post by power888 »

Hi. Alll

I want to hook Drag & Drop function.
(i.e. When User Drag&Drop some text from WinWord to MSN using mouse not Ctrl-C, Ctlr-V)

How can I hook Drag&Drop?

What API I Using?

Please help me...
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Hello,

that's a complicated topic. There are a number of APIs related to drag&drop, e.g. DoDragDrop and DragAcceptFiles. But drag&drop can probably also be realized by using messages like WM_MOUSEMOVE etc. I've not an expert in this area. In order to hook APIs you can use madCodeHook. In order to hook messages, you can use SetWindowsHookEx.
Post Reply