Catch drag'n'drop event
-
Hello Is possible to catch a system event if mouse is in Drag'N'Drop mode? I mean an event when PC user is dragging something between two application f.e. from AcrobatReader to Photoshop and I want catch this event from my app. Or the one possible solution is asynchronously track mouse way and buttons... Thanx
-
Hello Is possible to catch a system event if mouse is in Drag'N'Drop mode? I mean an event when PC user is dragging something between two application f.e. from AcrobatReader to Photoshop and I want catch this event from my app. Or the one possible solution is asynchronously track mouse way and buttons... Thanx
You could use SetWindowsHookEx[^] to install a global hook of type
WH_CALLWNDPROC
orWH_GETMESSAGE
to intercept theWM_DROPFILES
message that is sent during the drop event of a drag and drop operation.«_Superman_» I love work. It gives me something to do between weekends.
Microsoft MVP (Visual C++) -
You could use SetWindowsHookEx[^] to install a global hook of type
WH_CALLWNDPROC
orWH_GETMESSAGE
to intercept theWM_DROPFILES
message that is sent during the drop event of a drag and drop operation.«_Superman_» I love work. It gives me something to do between weekends.
Microsoft MVP (Visual C++)thank for answ. catching the event is more important than getting the WM_DROPFILES target. but will, try.