Yes, I tried the one you suggested. If I have only 3 tabs the 3rd
tab(tabs heading) is displayed at the middle of the tab control, not
to its right. But what I want is two tabs to be drawn from left-to-
right(normal) and the other tab to look like one which id drawn from
right-to-left.So there should be a space between the first two tabs
and the 3rd tab. Please suggest on the same.
I think I am beginning to understand your request. You are not asking
how to control the order of the tabs. You actually want the tab itself,
of the last tab in the group of tabs, to be aligned flush to the right
of the entire tab control, while the other tabs are drawn normally,
flush to the left.
Is that correct?
If so, I'm afraid you may have to write your own tab control. I don't
think the built-in TabControl supports that.
I did notice this article:
http://msdn2.microsoft.com/en-us/library/ms404305.aspx
I haven't done this myself, so I can't offer specific advice. But I
think it's possible, based on what I've seen in that article, that you
could set the TabControl to "owner draw" and handle just the drawing of
the tabs yourself. If so, then you could always draw the last tab flush
to the right.
Sorry I wasn't of more help. Hopefully the above gets you where you want.
Pete