I'm using the TabStrip control and I'd like to know when the mouse is over the image on a tab. My basic approach is to use the TabStripPageTabToolTopDisplaying event to know when I'm over a tab, and which one. I was planning on computing x/y position to determin that I'm over the image.
First, if there is a better way to do this, what is it?
Second, if no better way, how can I tell the width of each of the tabs on the control? For example, if there are three tabs, varying width, how can I add the widths of tab 1 and tab 2 so that I know tab 3 starts at x.
Thanks for your help!
First, if there is a better way to do this, what is it?
Second, if no better way, how can I tell the width of each of the tabs on the control? For example, if there are three tabs, varying width, how can I add the widths of tab 1 and tab 2 so that I know tab 3 starts at x.
Thanks for your help!