CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Posts
    30

    tab ctrl with xp style

    I changed my application ini order to use xp style the way msdn suggest
    http://msdn.microsoft.com/library/de...ndowsForms.asp

    In my interface there's a tab control with alignment set to left.
    The problem is: I don't know why but the only way tab labels look correct is when alignment is set to "classic" top. For example in my case labels on tabs are not shown. Even with other alignment they look weird.

    Probably I'm missing something but I can't figured it out.

  2. #2
    Join Date
    Jul 2004
    Posts
    30

    Re: tab ctrl with xp style

    Got the solution:

    It's some kind of windows bug:
    - tabpages (instead of tabcontrol) are not correctly drawn under xp style.

    I found two ways to solve it:
    1)http://www.codeproject.com/cs/miscct...asp#xx884556xx (I didn't test it)
    2)http://www.skybound.ca/developer/vis...s/default.aspx (it works really fine, it's easy and .dll is free, fixes couple of other visual bugs too)

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

Featured