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

Forum statistics

Threads
473,744
Messages
2,569,481
Members
44,900
Latest member
Nell636132

Latest Threads

Top