This is something I have also thought about... An image can be set so that the transparent portion still receives a mouseclick - or it can be set so that the transparent portion does not receive the mouseclick, but instead passes it on to what lies underneath.
I have not tried this, but have considered having a cursor that is just a single dot, and programming for mousemove to always move the image to be located around that single dot, with a transparent dot for the image directly under the mouse-dot. This way, the click is passed through the image. It isn't perfect, because your hotspot on the image would always be the black (or white) dot from the cursor - but that shouldn't be too terrible. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Chatonet Sent: Thursday, December 22, 2005 7:32 AM To: How to use Revolution Subject: Re: MouseChunk with false cursor Hi Mark, Normal behaviour: the topmost object always gets the focus even if it is transparent... Usually, we build cursors but, as you know it, there is a size limitation (16*16 pixels on Mac OS and 32*32 on other platforms) If you want to use a png as a bigger cursor, just an idea, not tested and a bit dirty :-) Use a pending message (has to be dug in): on WhereAreWe global gPosArray ----- lock screen hide img "MyCursor.png" if "field" is in the target then put the mouseChunk into gPosArray["chunk"] put the mouseText into gPosArray["text"] put the short name of the target into gPosArray["name"] etc. -- all you can need else delete global gPosArray show img "MyCursor.png" unlock screen AnalyseData -- another handler that will act according to the keys in gPosArray send "WhereAreWe" to me in 50 milliseconds end WhereAreWe Le 22 déc. 05 à 13:08, Mark Greenberg a écrit : > How can I use a false cursor (an image that follows the mouse with > the cursor set to none) that also recognizes MouseChunk, MouseText, > etc. It seems that the way I am doing it, the image blocks the > mouse from "seeing" the text in the field. Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ [EMAIL PROTECTED]/ _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
