Event mouse area

Hello!

i want to show a message when the mouse enters a specific area on the screen. I want to put it in an app.open event…
… any suggestions?

Marco

http://documentation.xojo.com/index.php/System.MouseX
http://documentation.xojo.com/index.php/System.MouseY

Thanks!

is there an alternative when using a console app?

System.MouseX is not available there…

Marco

[quote=375754:@Marco Winster]Thanks!

is there an alternative when using a console app?

System.MouseX is not available there…

Marco[/quote]

console events don’t respond to mouse events… hence the term “console apps”

[quote=375754:@Marco Winster]Thanks!

is there an alternative when using a console app?

System.MouseX is not available there…
[/quote]

Two possibilities :

  1. Do a windowless desktop app. Simply don’t assign any default window in App
  2. Add a windowless desktop app as helper to your console app, which sole purpose is to report System.MouseX and System.MouseY via an IPCSocket

It is possible that Christian has mouse classes, but a quick search on monkeybread.net leads only Dynapdf results (don’t you hate Google sometimes ?).