Trapping for mouseDown on the desktop on a Mac

Phil Davis revdev at pdslabs.net
Sat Oct 12 10:51:46 EDT 2013


Have you tried using 'suspend' instead of 'mouseDown' and 
'suspendStack'? Should work the same on both platforms (famous last words!).

Phil


On 10/12/13 6:31 AM, Ray wrote:
> On Windows the instant there is a 'mouseDown' on the desktop the 
> current stack window goes inactive, thus triggering the suspendStack 
> message.  I use this to create a field which then accepts dragDrops.  
> However, this is different on a Mac.  The current stack window on a 
> Mac waits until the mouse comes up on a desktop click, thus defeating 
> my scheme which creates the field to accept a dragDrop as soon as the 
> mouse goes down on the desktop.
>
> Any ideas anybody on how to trap for a mouse down on the desktop on a 
> Mac?
>
> Many thanks,
>
> Ray
> LinkIt! Software
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

-- 
Phil Davis





More information about the use-livecode mailing list