A window that has captured the mouse should only do so for a short time,
usually between one mousedown and the next mouseup event.
If you're trying to capture for longer than this then you're probably doing
something wrong.
Why do you need to do this?
If it's for some sort of kiosk program then you should consider using your
own custom shell.
--
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consultinghttp://
www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Trickshttp://
www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQhttp://
www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
- Show quoted text -