www.softwareriviera.com
Software Code
    New Code     Most Interesting     Don't Miss     Our picks  
C# - section

View Article
Images in ImageList go gray.
The images inside an Imagelist are grayed out when the image is on 8 bit (256 colors).
In Visual Studio 2005 (this may happen in later versions as well) when you add 8 bit (or 256 color) images to an ImageList you will notice that they are grayed out. A quick fix is to save those images as 16 bit images and then add them to the ImageList.
Date: 2012-6-19    Written by: Admin A
     See all articles in this section
Copyright © 2007-2009 SoftwareRiviera.com. All rights reserved.  | Terms of use | Disclaimer | Privacy Policy |