Re: [AD] Application icon in Windows

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


At 15:10 17/09/01 +0200, Javier González wrote:
>> I include it once as IDI_APPLICATION so that Windows will display it as a
>> desktop icon and again as allegro_icon so that Allegro sets it as the menu
>> and taskbar icon.
>> To me, it would be logical if an IDI_APPLICATION provided by the program
>> overrides the default specified by Windows. Still, who ever claimed
>anything
>> about Windows was logical? ;-)
>
>It is not. IDI_APPLICATION is NOT a name that microsoft has given you to
>use for your application icon, but an internal window icon handle that
>stores the
>typical "windows" icon. Of course you can use it that way, but it is not its
>purpose

Ok, I get that. I think. Ok, so I don't really: it's there, but you're not
supposed to use it, am I right?

>Btw, are you sure that if your don't include IDI_APPLICATION icon,
>"allegro_icon" doesn't became the application desktop icon? ;)

I'm positive. However, having tried it again, the allegro_icon does indeed
become the desktop icon, so there's indeed no need to include it twice.
*sigh* Anyway, thanks to everyone.

Evert



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/