For Programmers: Free Programming Magazines  


Home > Archive > Shareware Programming > May 2005 > mouse handling function ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author mouse handling function ?
Aris

2005-05-07, 8:55 pm

I've tried to make the beginning of a known game in c++.You got a
paddle and you move it to repulse a ball coming of above . I need to move
the paddle using my mouse.So I want to know the way to handle it .Its easy
to handle keyboard if you press ,that key ,the paddle moving right if you
press the ather, its moving left but how can I do it by mouse?




Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com