O
\(O\)enone
I've added a TabControl to my WinForms app, and added a couple of tabs to
the control.
The result is that the top strip of the TabControl contains the two tabs,
and then to the right of them is an empty area, above the tab content:
/ Tab 1 caption \ / Tab 2 caption \ XXXX empty space XXXX
I should stress that the empty space is within the bounds of the TabControl,
but there are no tab headers there to be clicked on. This is the space that
would be filled with the header for the third tab if I were to add one.
(I hope that makes sense!)
If I click in the empty space, no mouse events are fired by the TabControl.
This is a nuisance as I need to know that the user has clicked there. I get
mouse events when the user clicks on one of the tab headers, but not the
empty area.
Is there some way I can obtain mouse clicks for this area of the control?
the control.
The result is that the top strip of the TabControl contains the two tabs,
and then to the right of them is an empty area, above the tab content:
/ Tab 1 caption \ / Tab 2 caption \ XXXX empty space XXXX
I should stress that the empty space is within the bounds of the TabControl,
but there are no tab headers there to be clicked on. This is the space that
would be filled with the header for the third tab if I were to add one.
(I hope that makes sense!)
If I click in the empty space, no mouse events are fired by the TabControl.
This is a nuisance as I need to know that the user has clicked there. I get
mouse events when the user clicks on one of the tab headers, but not the
empty area.
Is there some way I can obtain mouse clicks for this area of the control?