Center mouse on a windows form

K

Konrad Bernhard

Hi!

Does anyone know how to center the mouse on a windows form without leaving
managed code?

Thanks
Konrad
 
K

Konrad Bernhard

Hello Jonny, hello Herfried

your code works fine. Thank you!

Maybe important for anyone: Use the code given in the examples not before
the Load-event of the form.

Konrad
 

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

Similar Threads


Top