newbie Q: Color palette dialog and colored listbox 
Author Message
 newbie Q: Color palette dialog and colored listbox

Hi!

My goal is following:

To have a dialog with a listbox, which has colored strings like
< http://www.*-*-*.com/ ; and colors of strings
can be chosen by clicking Choose Color -button and choosing a new
color from dialog of color palette.

I have done:

- a dialog which have those colored strings.  
(not so much;)

Question:

How to do a palette dialog with 16-color easily? Is there any support
from MFC?

How that chosen color can be updated to specific string of listbox?

Thanks,

-GR-



Sun, 25 Jan 2004 18:19:12 GMT  
 newbie Q: Color palette dialog and colored listbox
    You might want to give MFC's CPalette class  a try.

Cheers
Check Abdoul
------------------


Quote:
> Hi!

> My goal is following:

> To have a dialog with a listbox, which has colored strings like
> <http://www.codeguru.com/listbox/colorlb.shtml> and colors of strings
> can be chosen by clicking Choose Color -button and choosing a new
> color from dialog of color palette.

> I have done:

> - a dialog which have those colored strings.
> (not so much;)

> Question:

> How to do a palette dialog with 16-color easily? Is there any support
> from MFC?

> How that chosen color can be updated to specific string of listbox?

> Thanks,

> -GR-



Sun, 25 Jan 2004 22:32:45 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. # of colors in color palette?

2. # of colors in displays color palette?

3. How to get more colors in Color Palette

4. Detecting Color Pallete ( 16 colors , or 256 colors, or Hi color) URGENT

5. Dialog color Palette

6. Controlling Colors in ListBox within Dialog - How??

7. a NEWBIE Q:Backgroud color of dialog

8. a NEWBIE Q:Backgroud color of dialog

9. 256 color bitmaps get remapped with 16 color palette when using 256 color display?

10. Color Palette

11. Get palette colors using the _inp port function

12. Palette Colors

 

 
Powered by phpBB® Forum Software