I was interested in learning about this problem for some time - double-clicking the Winforms TabControl header is not detected, but I would like to handle this event.
It seems that all mouse events (clicking, moving, etc.) do not go up when they are in the βinactiveβ TabControl area. I even tried to subclass TabControl, but the events of the derived class also do not go up. The WndProc redefinition showed that it does not receive the WM_LBUTTONDBLCLK message (I mean - WTF?).
Thank. But I'm sure the tab control knows that I clicked on its title, it just doesn't let me know.
ps I looked at .NET: double-click an event in TabControl - but nothing
source
share