Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can retrive the mouse position

Status
Not open for further replies.

Drone38

Programmer
Apr 12, 2000
29
0
0
BE
I need to get the mouse position in my game.<br>But i'm under directx and the API don't work very good . Please help
 
No luck with recieving WM_LBUTTONDOWN WM_RBUTTONDOWN WM_MBUTTONDOWN or WM_MOUSEMOVE messages?<br><br>If not, have you tried using a Windows Hook? ie using SetWindowsHookEx and creating a callback function. Note: if you use a system hook as opposed to a task hook, then the callback function must reside in a DLL...<br><br> <p> <br><a href=mailto:Kim_Christensen@telus.net>Kim_Christensen@telus.net</a><br><a href= Page</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top