Results 1 to 4 of 4

Thread: Graphical Tab Control

  1. #1

    Thread Starter
    Addicted Member charmedcharmer's Avatar
    Join Date
    Sep 2003
    Posts
    211

    Graphical Tab Control

    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.
    Attached Files Attached Files
    C++ Programming is overwhelming.

    Dont let it overwhelm you or you'll fall into the oblivion of its perfection

  2. #2
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657
    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.
    Attached Files Attached Files
    "It's cold gin time again ..."

    Check out my website here.

  3. #3

    Thread Starter
    Addicted Member charmedcharmer's Avatar
    Join Date
    Sep 2003
    Posts
    211
    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

  4. #4
    New Member
    Join Date
    Jun 2006
    Posts
    5

    Re: Graphical Tab Control

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width