I've seen that in order to properly display the tabpages when using alignments aside from the top one and applying the visual styles the DrawItem event is used.

I've already played a bit with it, but since I don't have too much time I was wondering if anyone out there could provide the proper code to make the tabs look like the standard ones, with the orange line when the mouse is over the tab page and all that.

Thanks in advance.