Re: [AD] Proposal for a set_icon function

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


By the way, am I the only one who experiences losing their Windows icon
after a mode change?

I am using Visual C++ 6 sp5... I have an icon resource called
IDI_APPLICATION... it properly shows up as the icon for the executable file.
When I start my program, the taskbar button for my program appears, and it
has the icon.  Then my game switches to full-screen (800x600x16 on a
TNT2-based card), and if I ALT-Tab away, I can see that the icon is no
longer on my taskbar button.

If we could fix this behavior, I suggest that we simply document, in the
platform-specific section of the docs, the IDI_APPLICATION hack and the
existing Windows API call to set the icon, and add a note to the FAQ
referring to this section of the docs.

--Chris



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