Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 613
  • Last Modified:

ImageList Transparency in CTreeCtrl

I have an image list for my tree control.  When displaying the images it makes the black pixels transparent, how do i make this not happen, so it shows the black pixels...
0
Bashfull
Asked:
Bashfull
1 Solution
 
Tommy HuiCommented:
How are you loading the image list? For the LoadImage routine, you can specify which color to use as the transparent color.
0
 
BashfullAuthor Commented:
Yep that's it.  I changed the mask in CImageList::Create() to white and it works..
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now