Hi Guyz! Just want to ask for a downloadable tab strip control where i an change the colors of the (even add icons with it) and can also change the panel color. unlike the microsoft tabbed dialog. I downloaded a something like this from vbaccelerator but my problem is, it doesnt change the color of tabs... almost suitable but i really need the tabs changing color. The more customizable tab control, well, the better... please please please, i really need your help. thank you. thank you thank you!
here's that vbaccelerator tab control if you want to see it.
C++ Programming is overwhelming.
Dont let it overwhelm you or you'll fall into the oblivion of its perfection
I found this example somewhere a while back. A guy is using subclassing to change the backcolor of an SSTab control. I added my own tests to his original example. Changing the backcolor does not affect the ability to add icons to the tabs.
As an aside, I also played around with the captions of the tabs so the caption of each one would be bold (normally, even if you set the font bold, the selected tab will not display bold).
The form in the attached example is mish-mosh of different experiments, but you'll find the guy's code to change the backcolor is solid and you should be able to apply it to your project.
thanks bruceG! i havent dropped it from my project yet. I tried to replace it with my pictureboxes and frames.... but its hard... thanks for your help! thank you very much!
C++ Programming is overwhelming.
Dont let it overwhelm you or you'll fall into the oblivion of its perfection
I've used the above example code, and another posted here which also used subclassing. In both cases the desktop would flash (repaint?) as I went though the tabs, most often going in/out of tab 0. I've run on two pc's, NT and XP with same result. Anyone else observe this? It's too bad because otherwise it seems to work so well.
I've tried to isolate it to a section of the message handler and have had no consistent result.