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

Intercept Lost"focus" without losing focus...

P: n/a
Dear NG,

I created a gridlike usercontrol. When clicking on a cell a textbox (or
other control, depending on the cell's editortype) is shown. When some other
control gets the focus, the textbox is hidden. So far, no problem.
But when the textbox is visible and, for instance, I click on a
toolbarbutton, the textbox' Lostfocus event is not fired. The situation
should be that wherever I click, apart from the cell or textbox itself, the
textbox should be hidden.

Is there any message (and if so, which one) I can intercept from within the
usercontrol to get this Lostfocus-without-losing-focus-event?

Thanks in advance,
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.