Solved

ImageList Transparency in CTreeCtrl

Posted on 1999-01-23
2
601 Views
Last Modified: 2013-11-20
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
Comment
Question by:Bashfull
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 50 total points
ID: 1328219
How are you loading the image list? For the LoadImage routine, you can specify which color to use as the transparent color.
0
 

Author Comment

by:Bashfull
ID: 1328220
Yep that's it.  I changed the mask in CImageList::Create() to white and it works..
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sameEnds challenge 3 180
sum13 challenge 24 123
no14 challenge 14 72
Can not remove SSL certificate on iPhone 6 - iOS10.2 12 878
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question