when multiple similar forms are opened up, windows xp can group them into an
application group button on the start bar.

Unfortunately, this application group uses the icon of the application's
executable, and not the icon that has been specified by form.

another usenet post here (watch for URL wrap)

http://groups.google.com/groups?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&safe=off&threadm=01f901c3610c%243a0cb900%24a601280a%40phx.gbl&rnum=6&prev=/groups%3Fq%3Dapplication%2Bgroup%2Bicon%2Bc%2523%26hl%3Den%26lr%3Dlang_en%26ie%3DUTF-8%26oe%3DUTF-8%26safe%3Doff%26selm%3D01f901c3610c%25243a0cb900%2524a601280a%2540phx.gbl%26rnum%3D6

I am hoping that someone knows a handy way to set the icon used by
application groups (without changing the application's icon), either using
interop or some esoteric .net wizardry that i've been unable to find.

Failing that, i am hoping that someone knows a way to prevent multiple forms
from being grouped in the start bar, but on an application basis instead of
going into the start bar properties and setting it there. If this can be
accomplished by interop or .net wizardry i'd love to hear of it also.

Re: Windows XP application group icon by Max

Max
Wed Dec 17 03:51:17 CST 2003

If you won't find anything better - try SetClassLong API function.
SetClassLong(YourForm.Handle,GCL_HICON, DesiredIcon.Handle)
and/or
SetClassLong(YourForm.Handle,GCL_HICONSM, DesiredIcon.Handle)
See platform SDK and Winuser.h for more information.



"Matthew Fitzpatrick" <matt@eci.com> wrote in message
news:u4%23g4N$wDHA.1912@TK2MSFTNGP09.phx.gbl...
> when multiple similar forms are opened up, windows xp can group them into
an
> application group button on the start bar.
>
> Unfortunately, this application group uses the icon of the application's
> executable, and not the icon that has been specified by form.
>
> another usenet post here (watch for URL wrap)
>
>
http://groups.google.com/groups?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&safe=off&threadm=01f901c3610c%243a0cb900%24a601280a%40phx.gbl&rnum=6&prev=/groups%3Fq%3Dapplication%2Bgroup%2Bicon%2Bc%2523%26hl%3Den%26lr%3Dlang_en%26ie%3DUTF-8%26oe%3DUTF-8%26safe%3Doff%26selm%3D01f901c3610c%25243a0cb900%2524a601280a%2540phx.gbl%26rnum%3D6
>
> I am hoping that someone knows a handy way to set the icon used by
> application groups (without changing the application's icon), either using
> interop or some esoteric .net wizardry that i've been unable to find.
>
> Failing that, i am hoping that someone knows a way to prevent multiple
forms
> from being grouped in the start bar, but on an application basis instead
of
> going into the start bar properties and setting it there. If this can be
> accomplished by interop or .net wizardry i'd love to hear of it also.
>
>