window icons

Tor Lillqvist <[email protected]> Thu, 13 Feb 2003 20:26:11 +0000
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
[email protected] writes:
 > Would it not be possible to use GetClassInfoEx() which would return the
 > structure for the given window's class, and then change the HICON from
 > there?

I guess so, but the same window class is used for all GDK windows of
the same type, so you would then change the icon for all top-level
windows of the application.

As this is a common request, maybe it would be a good idea not to
share window classes, at least not for top-level windows? On NT class
systems it probably doesn't matter, but on the 16-bit GDI in 9x class
systems it might cause more resource drain.

--tml