http://www.codeproject.com/Articles/...l-from-scratch
I'm creating a web browser in Visual Basic, and I am using the ever-so-popular MDI Tab Control to do so. The example project on the page sort of contains what I am looking for, but not quite.
The GetTabRegion event of the MDITabControl appears to occur whenever a tab is drawn. It gives you full control over the shape of the tab. e contains Points, of which the array has an upper bound of 5 by default.
I am no good with points or graphics in general, and therefore I must ask you guys, what would I set as each of the points, from e.Points(0) all the way up to e.Points(5) in order to have my tabs shaped like Chrome's tabs?
Keep in mind, my TabHeight is a constant 24.
I'm creating a web browser in Visual Basic, and I am using the ever-so-popular MDI Tab Control to do so. The example project on the page sort of contains what I am looking for, but not quite.
The GetTabRegion event of the MDITabControl appears to occur whenever a tab is drawn. It gives you full control over the shape of the tab. e contains Points, of which the array has an upper bound of 5 by default.
I am no good with points or graphics in general, and therefore I must ask you guys, what would I set as each of the points, from e.Points(0) all the way up to e.Points(5) in order to have my tabs shaped like Chrome's tabs?
Keep in mind, my TabHeight is a constant 24.