How to assign an icon to a group

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.general (More info?)

I am developing a windows application in .Net that opens multiple modeless
dialogs. Each dialog has ShowInTaskBar property set to True. When the
application is
running Windows XP displays a Group on the taskbar. Each dialog does have an
icon, but the Group icon is empty.

How can I set an icon for the Group? I tried assigning the same icon to each
dialog, but it didn't help.

Thank you in advance.
Gregory Khrapunovich
 
Archived from groups: microsoft.public.windowsxp.general (More info?)

Gregory,

HKEY_CLASSES_ROOT\Applications\YOURAPP.EXE
In the right-pane, create a new REG_EXPAND_SZ named "TaskbarGroupIcon"
Set the desired icon there
Example: %Programfiles%\Internet Explorer\IExplore.exe, 10


See also

The Old New Thing : Where does the taskbar get grouped button icons from?:
http://blogs.msdn.com/oldnewthing/archive/0001/01/01/123821.aspx


--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


"Gregory Khrapunovich" <greg@a-s-l.com> wrote in message
news:OtM3RmJrFHA.3640@tk2msftngp13.phx.gbl...
>I am developing a windows application in .Net that opens multiple modeless
> dialogs. Each dialog has ShowInTaskBar property set to True. When the
> application is
> running Windows XP displays a Group on the taskbar. Each dialog does have
> an
> icon, but the Group icon is empty.
>
> How can I set an icon for the Group? I tried assigning the same icon to
> each
> dialog, but it didn't help.
>
> Thank you in advance.
> Gregory Khrapunovich
>
>
 
Archived from groups: microsoft.public.windowsxp.general (More info?)

"Ramesh, MS-MVP" <ramesh@XOX.mvps.org> wrote in message
> Example: %Programfiles%\Internet Explorer\IExplore.exe, 10

Thank you for the reply. What does number "10" mean in your example? (I
checked my registry, it's 13).

Gregory
 
Archived from groups: microsoft.public.windowsxp.general (More info?)

Gregory,

10 represents the Icon Index. More on the index can be found here:
http://www.mvps.org/serenitymacros/icon.html

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


"Gregory Khrapunovich" <greg@a-s-l.com> wrote in message
news:e2DE2yKrFHA.3060@TK2MSFTNGP09.phx.gbl...
> "Ramesh, MS-MVP" <ramesh@XOX.mvps.org> wrote in message
>> Example: %Programfiles%\Internet Explorer\IExplore.exe, 10
>
> Thank you for the reply. What does number "10" mean in your example? (I
> checked my registry, it's 13).
>
> Gregory
>
>
 
Archived from groups: microsoft.public.windowsxp.general (More info?)

Look here to see how explorer does it
HKEY_CLASSES_ROOT\Applications\explorer.exe

--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives/_comment/001075.html
=================================================
"Gregory Khrapunovich" <greg@a-s-l.com> wrote in message news:OtM3RmJrFHA.3640@tk2msftngp13.phx.gbl...
>I am developing a windows application in .Net that opens multiple modeless
> dialogs. Each dialog has ShowInTaskBar property set to True. When the
> application is
> running Windows XP displays a Group on the taskbar. Each dialog does have an
> icon, but the Group icon is empty.
>
> How can I set an icon for the Group? I tried assigning the same icon to each
> dialog, but it didn't help.
>
> Thank you in advance.
> Gregory Khrapunovich
>
>
 
Archived from groups: microsoft.public.windowsxp.general (More info?)

Also see
http://support.microsoft.com/?kbid=818110

--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives/_comment/001075.html
=================================================
"Gregory Khrapunovich" <greg@a-s-l.com> wrote in message news:OtM3RmJrFHA.3640@tk2msftngp13.phx.gbl...
>I am developing a windows application in .Net that opens multiple modeless
> dialogs. Each dialog has ShowInTaskBar property set to True. When the
> application is
> running Windows XP displays a Group on the taskbar. Each dialog does have an
> icon, but the Group icon is empty.
>
> How can I set an icon for the Group? I tried assigning the same icon to each
> dialog, but it didn't help.
>
> Thank you in advance.
> Gregory Khrapunovich
>
>