By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,839 Members | 2,270 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,839 IT Pros & Developers. It's quick & easy.

trap Mouse click

P: n/a
hi all
How trap mouse click outside my control - like close popup menu

Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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ławomir Speth" <ss****@neostrada.pl> wrote in message
news:d9**********@nemesis.news.tpi.pl...
hi all
How trap mouse click outside my control - like close popup menu

Nov 17 '05 #2

P: n/a
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.

Użytkownik "Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> napisał w
wiadomo¶ci news:uX*************@TK2MSFTNGP15.phx.gbl...
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ławomir Speth" <ss****@neostrada.pl> wrote in message
news:d9**********@nemesis.news.tpi.pl...
hi all
How trap mouse click outside my control - like close popup menu


Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.