Posted 18 years ago
by Marianne
This is a weird one. If I take a standard imagelist control and populate it with alpha-blended (32-bit) PNG icons everything is fine. I can create treeviews and other standard Windows Forms controls and have them make use of the images from the imagelist without a problem.
However, as soon as I add a ToolBarManager and assign it this image list and rebuild the project, all of the images in the image list have now lost their alpha blending and are only 24-bit icons now.
I had originally opened a trouble ticket with MS thinking it was related exclusively to the imagelist control but I couldn't reproduce the problem in any other application unless I added a UIStudio toolbar and assigned the imagelist to it (I then created a few buttons and assigned them an index) and rebuilt the solution.
Can you verify this?
However, as soon as I add a ToolBarManager and assign it this image list and rebuild the project, all of the images in the image list have now lost their alpha blending and are only 24-bit icons now.
I had originally opened a trouble ticket with MS thinking it was related exclusively to the imagelist control but I couldn't reproduce the problem in any other application unless I added a UIStudio toolbar and assigned the imagelist to it (I then created a few buttons and assigned them an index) and rebuilt the solution.
Can you verify this?
------------------------------- Marianne