S S³awomir Speth Jun 19, 2005 #1 hi all How trap mouse click outside my control - like close popup menu
B Bob Powell [MVP] Jun 19, 2005 #2 Control.Capture -- Bob Powell [MVP] Visual C#, System.Drawing Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm Answer those GDI+ questions with the GDI+ FAQ http://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.
Control.Capture -- Bob Powell [MVP] Visual C#, System.Drawing Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm Answer those GDI+ questions with the GDI+ FAQ http://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.
S S³awomir Speth Jun 20, 2005 #3 thanks this is good idea but this method handles the mouse down event for all the controls on the form. I looking for event fired when user click mouse outside control/form or i don't understand this idea.
thanks this is good idea but this method handles the mouse down event for all the controls on the form. I looking for event fired when user click mouse outside control/form or i don't understand this idea.