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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Mouse 2

Status
Not open for further replies.

Tooko

Programmer
May 10, 2002
14
AU
I have two questions. One, when I created a program using DirectDraw, I couldn't hide the mouse. Any suggestions?

Secondly, is there a simple function that returns the X/Y location of the mouse? Preferable in POINT form? MBDYProductions - "Freedome in gaming shouldn't be an extra"
 
As for hiding the mouse, all you have to do is call SetCursor(NULL). To bring it back later, just call SetCursor(LoadCursor(NULL,IDC_ARROW)).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top