473,408 Members | 2,405 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Windows XP application group icon

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=e...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.
Nov 15 '05 #1
1 1857
Max
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" <ma**@eci.com> wrote in message
news:u4****************@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=e...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.

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Matthew Fitzpatrick | last post by:
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...
7
by: Lalit | last post by:
Hi Friends, I have developed a Windows service. Now i need icon for this service in systray and context menu fo this icon. Can i do this? With regards, Lalit
3
by: Sam | last post by:
I've been googling for a couple of hours now and tried some different things, but I've been unable to get the icon for a distributed access application to do anything but display the default...
3
by: Seymen Ertas | last post by:
Hey anyone seen this before ? I followed examples from microsoft and added a notifyicon to my windows service project and i can't get the icon to show up. Here is a checklist of what i have...
3
by: Mats-Lennart Hansson | last post by:
Hi, I'm having a hard time getting my service to show a sys tray icon. I've tried to create a separate Windows application where I simply add a notification icon to the form. In the OnStart method...
5
by: WRH | last post by:
Hello This must be on a faq somewhere but despite a lot of googling I still can't resolve this issue: I have a C# app and I would like to see its icon displayed when the exe file is viewed in...
7
by: Nick | last post by:
Platform: Visual Studio 2003 Language: C# NOTES: 1. Application will need to run on Windows 2000, Windows 2003, Windows XP 2. Client machines will be standalone NOT part of a domain. 3. I...
4
by: Markus Stoeger | last post by:
Hi, I have a problem with Application.Run() when Windows is shutting down. Please have a look at the copy&paste example program below. The application has no forms. It has only got a notify...
4
by: tshad | last post by:
What would be a good way to check programmatically whether a service was running? We have a service that dies periodically and I need to check to see if this service is running. I know how to...
1
by: Jon Slaughter | last post by:
I'm trying to create a windows explorer like app and the problem I'm having is getting the proper icon for the folders and items. In windows explorer there are many different icons and most seem...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.