Re: [AD] Proposal for a set_icon function

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


On Friday 17 August 2001 11:20, you wrote:
> > 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.
>
> The same happens for me, but as soon as I switch back to windowed mode, the
> icon is back as well. I made a program which changes the title and switches
> between fullscreen and windowed all the time, and the icon always
> disappears as long as it is in fullscreen. But I never get the standard
> windows icon, it just disappears. And I just checked, all the commercial
> games I have installed here also show no icon whil in fullscreen mode.

Thats because Its a different type of window. The window has no title bar
and hence have no need for the icon :)

(I schould really read the messages I reply to better...)

-- 
Tom Fjellstrom
tfjellstrom@xxxxxxxxxx
http://strangesoft.net



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