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

    Painiting CTabControl background

    I have a CPropertyPage in a dialog this dialog has a bitmap as a background (like a color). I have succeded to change the background of the CpropertPage to my bitmap. BUT I don’t know How to change the Tab background.
    As you know this Tab belongs to the CpropertySheet ( I use GetTacControl() )and it’s not a Free control that I can Overload and change it’s property.
    What Can I do????


    Shirly
    mailto:[email protected]


  2. #2
    Join Date
    May 1999
    Location
    France
    Posts
    61

    Re: Painiting CTabControl background

    Hello,

    I do this but it's not very clean, i paint some bloc on the tab, you need to scan the control to detect the dimension and you need to intercepte message when the tab change to redraw the new first tab.

    A++


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