Problem with ClipCursor API to restrict the mouse within a window control using C# ?

C

ck.kislay

When I passed bounding area ( Location,height ,width )of a Window
control to the ClipCursor API it restrict the mouse in screen
coordinate ,Its fine because ClipCursor works on Screen coordinate. But
when I changed the bounding area (Location) to Screen coordinate then
pass to ClipCursor API then some time it works and some time it
doesn't work. Also how can unrestrict the mouse from ClipCursor?

Waiting for Reply,
Chandan Kumar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top