bjrtap
18-11-2003, 10:48 PM
Hello,
how can I check the mouseposition using the DirectInput-Object form UnDelphiX?
I set The Mouse to enabled and used the 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?
how can I check the mouseposition using the DirectInput-Object form UnDelphiX?
I set The Mouse to enabled and used the 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?