Board index » cppbuilder » > 16 colour icons in tray

> 16 colour icons in tray

Hi,

I can't seem to find a definitive answer to this.  I have a 16x16 BMP file
which is 256 colours and I want to use it as my application's tray icon.
Can I use a bmp file as the tray icon, or does it have to be an ICO file?
If so, how do I do that (load from resource, etc)?  I'm using BCB5 and the
image editor doesn't let me create icons with more than 16 colours.

Thanks
sam

 

Re:> 16 colour icons in tray


Hi Sam,
    Use Microangelo to create hi-color ICO's. I'm sure you can also find
other low-cost or free edtors that serve the same purpose.

As for loading from a resource file, use the LoadIcon API call.

Hope this helps,

Regards,
Ananth B.

Quote
"Sam Izzo" <none@none> wrote in message

news:3e90e06f@newsgroups.borland.com...
Quote
> Hi,

> I can't seem to find a definitive answer to this.  I have a 16x16 BMP file
> which is 256 colours and I want to use it as my application's tray icon.
> Can I use a bmp file as the tray icon, or does it have to be an ICO file?

[snip]

Other Threads