Link to home
Start Free TrialLog in
Avatar of neo23
neo23

asked on

IMAGE LIST MASKCOLOR

Why does the imagelist draw the transparent area of my icons in black after compiling? This is driving me nuts.
The same thing happens when i deselect the use maskcolor property in the imagelist control. Am i using the wrong color to define transparent areas?

Im using COMCTL32.OCX

HELP ME!!!
Avatar of Erick37
Erick37
Flag of United States of America image

You should use 16 color bmp's (not icons) for images in the Imagelist.

If you need icons, you can place them in a resource (Res) file.
Avatar of neo23
neo23

ASKER

But i want icon resources in my toolbar, how can i load them from a resource file. ???
Can't you convert the icons into bmp files, then load them into the ImageList?
Avatar of neo23

ASKER

Ive done that. But the maskcolor problem remains.
How and in which color do I paint the mask "the transparent area of the bmp"?

Can i do it in ms paint?
ASKER CERTIFIED SOLUTION
Avatar of Erick37
Erick37
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial