Customized TabControl Buttons

Hi All!

I am trying to customize the buttons being drawn by the TabControl in Visual Basic. I've tried some methods in C# using the OfficeXP TabControl design, only this time I want to rewrite the codes in Visual Basic. Can anyone tell me how to redraw the buttons using the OfficeXP TabControl style using Visual Basic. Better yet, if you know the TabControl style used by Office2003, then it would be much appreciated. I tried to download a component like SandDock but it is only used for evaluation. I don't need the whole package just so I can make use of their TabControl component. Just having to adopt their TabControl will do. Please help...

Thanks,
Doms

[708 byte] By [DomingoFugabanJr] at [2007-12-17]
# 1
Hi Doms,

I assume that by "buttons" you mean the tab portion of the TabControl? If you want to change the appearance of the tabs, for example to give them a slanted corner, you can do so by owner-drawing the tab portion. See the following topic for more info: http://msdn2.microsoft.com/en-us/library/yyfab68k.aspx

Hope this helps,
Steve Hoag
Visual Basic Express

shoagMSFT at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...