|
-
Oct 20th, 2001, 04:51 PM
#1
Changing taskbar-button caption without changing form caption
Hi,
Is there any way to change the caption of the taskbar button, without changing the form's caption?
Thanks.
-
Oct 20th, 2001, 07:00 PM
#2
PowerPoster
Well, i think you will need to subclass your window. Check planetsourcecode.com and vbaccelerator.com
They may have some samples.
-
Oct 20th, 2001, 09:52 PM
#3
Frenzied Member
You could make a form that's shown in the taskbar and then your real form not and have the fake one just make you're real one pop up when you ise the taskbar button
-
Oct 21st, 2001, 05:42 AM
#4
Using another form for every form is not a very easy solution.
And I cannot find any samples at planetsourcecode and vbaccelerator
-
Oct 21st, 2001, 08:23 PM
#5
Fanatic Member
This indirectly came up a long time ago somewhere, and from what I looked at, what you see in the taskbar is just a reflection of what's in the caption itself, so there isn't a way to just change the taskbar version as far as I know, unless it's possible to take over drawing of the taskbar yourself, and then do something different. What would be easier would be to have a variant of that method and give the caption property the value you want to show in the taskbar, and then have your own titlebar that you draw yourself in place of the normal one. Then you can put anything in the form itself without affecting the taskbar one.
I'm baaaack...
VB5 Professional Edition, VC++ 6
Using a 1 gHz Thunderbird, 256 mb RAM, 40 gb HD system with Win98se
I feel special because I finally figured out how to loop midis: Post link
I'm a fanatic too 
-
Oct 22nd, 2001, 04:53 AM
#6
I'm sure that it is possible, I have seen this in other programs.
I have tried to solve the problem with another form which activates the normal form, but I coudn't get it working just like a normal form.
Drawing a titlebar is not possible with the new theme system of
Windows XP, because it's possible to skin the windows, just like in WinAmp.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|