StatusStrip don't process mouse clicks if parent window is inactive.
-
StatusStrip don't process mouse clicks if parent window is inactive. I have an application with two winforms, one which has a StatusStrip object. The StatusStrip object has a couple of buttons with mouse click handlers hooked up. If the window with the status strip is the active window, the mouse click handler get called when user clicks on a button on the status strip. If the window with the status strip is not the active window, it takes two click on a status bar button to get the mouse click handler called. The first click only activates the window and do not result in a call to the click event handler. Anyone knows how to fix this? How to get a status strip to fire events even if it is in a nonactive window so user don't have to click twice?
/Patric My C# blog: C# Coach