Please help me with toolbar and imagelist 
Author Message
 Please help me with toolbar and imagelist
Hi
I bind my toolbar to an imagelist, in which I have stored a number of 256
color images.

The tool bar shows the full color images on the buttons for the first run of
the program. If I run the program again, all images become 16 color. I check
the image list, the images changed there too.

How can I maintain the full 256 color on my toolbar or this is an impossible
task?

Please help.

Gang Wei



Sun, 05 Sep 2004 09:05:01 GMT  
 Please help me with toolbar and imagelist


Fri, 19 Jun 1992 00:00:00 GMT  
 Please help me with toolbar and imagelist
Sorry I have asked the same question some time ago. I just found the only
reply to that post by Rocky Clark when I was searching the internet. Here is
the answer, it works well.

8<-----------------------


Subject: Re: Question on tool bar
Newsgroups: microsoft.public.vb.controls
View: Complete Thread (2 articles) | Original Format
Date: 2002-03-06 04:19:58 PST

A 256 color image cannot maintain it's own color table in an ImageList,
since these colors may not be compatable with other images in the ImageList,
so they are converted to use 16 color palettes. The way to avoid this is to
use True color images (which don't rely on a color table).


Quote:
> Hi
> I bind my toolbar to an imagelist, in which I have stored a number of 256
> color images.

> The tool bar shows the full color images on the buttons for the first run
of
> the program. If I run the program again, all images become 16 color. I
check
> the image list, the images changed there too.

> How can I maintain the full 256 color on my toolbar or this is an
impossible
> task?

> Please help.

> Gang Wei



Sun, 05 Sep 2004 14:18:43 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Imagelist/Toolbar GPF problem - please help !!!

2. PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP,

3. Problems with ImageList-Please HELP!!!

4. ImageList and ListView question - please help

5. Problem loading form due to ImageList. Please help

6. Can anyone HELP me PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE

7. Linking ImageList with Toolbar

8. Imagelist not available to Toolbar in WD97 Forms 2.0

9. how to reuse toolbar and imagelist

10. Imagelist and Toolbar

11. Toolbar and Imagelist - Wanna drive yourself crazy?

12. Toolbars: ADDING BMP images to IMAGELIST

 

 
Powered by phpBB® Forum Software