Results 1 to 2 of 2

Thread: The mouse....

  1. #1

    The mouse....

    Hello,

    how can I check the mouseposition using the DirectInput-Object form UnDelphiX?
    I set The Mouse to enabled and used the code:

    Code:
    DXInput.Mouse.Update;
    if DXInput.Mouse.x = ...
    Problem is that I only get the absolut number of the x-koord. But I need the position on screen. Any ideas?

  2. #2

    The mouse....

    ClientToScreen(), ScreenToClient() ?
    There are only 10 types of people in this world; those who understand binary and those who don't.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •