Now I would like the progress cancel the dragdrop action if the drop location is the app itself,or just shield the COPY message since it's obviously wrong.
I've tried to add a function ,which make sure the window under the cursor is not the app itself, before the message shows.
Func _WindowGetHovered() Local $h_Struct = DllStructCreate($tagPoint) DllStructSetData($h_Struct, "x", MouseGetPos(0)) DllStructSetData($h_Struct, "y", MouseGetPos(1)) Local $h_wnd = _WinAPI_WindowFromPoint($h_Struct) Local $res=_WinAPI_GetParent($h_wnd) Return $res EndFunc
But it doesn't work fine




