Can someone give me a sample code to confine the cursor on to a Form. I found this (ClipCursor API , that says it can be done using it). I am having a C# windows form application and using VS 2008.

Recommended Answers

All 3 Replies

This is what is says:

This example requires that you have a Form and a Button to call this code when it is clicked.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.