"You can read the mouse position from your window structure, and work it out."
I still do that but it returns me the position only when icon is dropped (or mouse is released).
Code: Select all
LONG appDropZone_hook(struct Hook *hook, APTR reserved, struct AppWindowDropZoneMsg *adzm)
{
kprintf("windows->MouseX (%d) windows->MouseY (%d) \n",windows->MouseX,windows->MouseY) ;
return 0 ;
}
Yes, it seems to be complex.