|
-
May 29th, 2009, 04:46 AM
#1
Disable Mouse
Now i am developing a app using MFC, it is look like a simple game. In that i am using a Joystick. so i have not required mouse. so I want to block all the mouse operations. how can i do.
Thanks in advance
-
May 29th, 2009, 05:07 AM
#2
Re: Disable Mouse
Just unplug the mouse!
Victor Nijegorodov
-
May 29th, 2009, 05:19 AM
#3
Re: Disable Mouse
Change the mouse cursor to a empty cursor so it becomes invisible, and use SetCapture/ReleaseCapture to redirect all the clicks to your window and simply ignore the clicks.
-
May 29th, 2009, 05:50 AM
#4
Re: Disable Mouse
You could also use ClipCursor to confine the cursor to a small or 0 sized rectangle.
-
May 29th, 2009, 06:14 AM
#5
Re: Disable Mouse
Thank you Mr Skizmo. But i am confusing, redirction is the correct way or any other way is there to completely stop the mouse event.
-
May 30th, 2009, 08:55 PM
#6
Re: Disable Mouse
 Originally Posted by bagavathikumar
Now i am developing a app using MFC, it is look like a simple game. In that i am using a Joystick. so i have not required mouse. so I want to block all the mouse operations. how can i do.
Thanks in advance
Where is your application running ?
-----
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|