For Programmers: Free Programming Magazines  


Home > Archive > VC Language > May 2006 > 24-bit color icon (MFC)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author 24-bit color icon (MFC)
Jack

2006-05-25, 4:19 am

Hi,
I have placed the question in a mfc group but did not get any responses.
My question was
========================================

I've tried to set the icon color on the left panel of the icon "enlarged"
view. I can choose 2,16 and 256 colors respectively but I couldn't choose 24
bit color where the MFC default icon can. Does anyone know how?
========================================
=

Thanks
Jack


Igor Tandetnik

2006-05-25, 8:16 am

"Jack" <jl@knight.com> wrote in message
news:eN2SEK7fGHA.5096@TK2MSFTNGP02.phx.gbl
> I have placed the question in a mfc group but did not get any
> responses. My question was
> ========================================

> I've tried to set the icon color on the left panel of the icon
> "enlarged" view. I can choose 2,16 and 256 colors respectively but I
> couldn't choose 24 bit color where the MFC default icon can. Does
> anyone know how?
> ========================================
=


It's a limitation of the icon editor built into VS IDE. You need a
third-party tool to edit icons with 16-bit colors and higher. Once you
created an .ICO file, you can add it to your resources and use it in
your application (but you still won't be able to edit the icon in the
IDE).
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com