Solved

ImageList Transparency in CTreeCtrl

Posted on 1999-01-23
2
596 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Named range not carried over 10 63
has77  challenge 9 82
matchUp  challenge 9 105
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 94
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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