Welcome, Guest. Please login or register.

Author Topic: Direct input  (Read 2409 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Rogue

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 566
    • Show all replies
    • http://www.hyperion-entertainment.com
Re: Direct input
« on: February 20, 2003, 05:22:35 PM »
The only thing that you could do is install an input handler. It is generally a bad idea, however, to grab the mouse globally. A much better approach would really be to use IntuiMessages.

Mouse coordinates can also be obtained from the current screen.

But if you have a window, the best way is really to use IDCMP. That way you won't read mouse coordinates that are supposed to go to Workbench or other stuff that is running.
Look out, I\'ve got a gun