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. 5 2201
Dear Matthew,
However I am not very sure if this resolves your problem
or not.... still I am just posting you my observation.
That's very right that Windows XP groups multiple windows
and the group icon is set to the Application's icon.
For this you can set the application's icon from the
project properties to an appropriate icon and then this
new icon will be shown as the group icon for individual
forms of your application.
Also remember this Application icon will be set to group
icon only in case of release mode. In debug mode, the
same out-of-date icon will appear.
Regards,
Puneet Taneja -----Original Message----- when multiple similar forms are opened up, windows xp
can group them into anapplication group button on the start bar.
Unfortunately, this application group uses the icon of
the application'sexecutable, 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...ang_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%26 lr%
3Dlang_en%26ie%3DUTF-8%26oe%3DUTF-8%26safe%3Doff%26selm%
3D01f901c3610c%25243a0cb900%2524a601280a%2540phx.g bl%
26rnum%3D6 I am hoping that someone knows a handy way to set the
icon used byapplication groups (without changing the application's
icon), either usinginterop 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 formsfrom being grouped in the start bar, but on an
application basis instead ofgoing into the start bar properties and setting it
there. If this can beaccomplished by interop or .net wizardry i'd love to
hear of it also.
.
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.
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.
I have a configuration file i'm using to "theme" my application. I want
everyone to be able to configure the app to look how they want it to, so i
need runtime (not compile-time) options. a super-hero named max showed me a
nifty interop function i can try. I'll post the results shortly!
"Puneet Taneja" <Pu*****@NIIT.Com> wrote in message
news:07****************************@phx.gbl... Dear Matthew,
However I am not very sure if this resolves your problem or not.... still I am just posting you my observation.
That's very right that Windows XP groups multiple windows and the group icon is set to the Application's icon.
For this you can set the application's icon from the project properties to an appropriate icon and then this new icon will be shown as the group icon for individual forms of your application.
Also remember this Application icon will be set to group icon only in case of release mode. In debug mode, the same out-of-date icon will appear.
Regards, Puneet Taneja -----Original Message----- when multiple similar forms are opened up, windows xp can group them into anapplication group button on the start bar.
Unfortunately, this application group uses the icon of the application'sexecutable, 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...ang_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%26 lr% 3Dlang_en%26ie%3DUTF-8%26oe%3DUTF-8%26safe%3Doff%26selm% 3D01f901c3610c%25243a0cb900%2524a601280a%2540phx.g bl% 26rnum%3D6 I am hoping that someone knows a handy way to set the
icon used byapplication groups (without changing the application's icon), either usinginterop 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 formsfrom being grouped in the start bar, but on an application basis instead ofgoing into the start bar properties and setting it there. If this can beaccomplished by interop or .net wizardry i'd love to hear of it also.
.
I have a configuration file i'm using to "theme" my application. I want
everyone to be able to configure the app to look how they want it to, so i
need runtime (not compile-time) options. a super-hero named max showed me a
nifty interop function i can try. I'll post the results shortly!
"Puneet Taneja" <Pu*****@NIIT.Com> wrote in message
news:07****************************@phx.gbl... Dear Matthew,
However I am not very sure if this resolves your problem or not.... still I am just posting you my observation.
That's very right that Windows XP groups multiple windows and the group icon is set to the Application's icon.
For this you can set the application's icon from the project properties to an appropriate icon and then this new icon will be shown as the group icon for individual forms of your application.
Also remember this Application icon will be set to group icon only in case of release mode. In debug mode, the same out-of-date icon will appear.
Regards, Puneet Taneja -----Original Message----- when multiple similar forms are opened up, windows xp can group them into anapplication group button on the start bar.
Unfortunately, this application group uses the icon of the application'sexecutable, 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...ang_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%26 lr% 3Dlang_en%26ie%3DUTF-8%26oe%3DUTF-8%26safe%3Doff%26selm% 3D01f901c3610c%25243a0cb900%2524a601280a%2540phx.g bl% 26rnum%3D6 I am hoping that someone knows a handy way to set the
icon used byapplication groups (without changing the application's icon), either usinginterop 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 formsfrom being grouped in the start bar, but on an application basis instead ofgoing into the start bar properties and setting it there. If this can beaccomplished by interop or .net wizardry i'd love to hear of it also.
.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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,...
| |