Hi,
Is there any way to change the caption of the taskbar button, without changing the form's caption?
Thanks.
Hi,
Is there any way to change the caption of the taskbar button, without changing the form's caption?
Thanks.
Well, i think you will need to subclass your window. Check planetsourcecode.com and vbaccelerator.com
They may have some samples.
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
Using another form for every form is not a very easy solution.
And I cannot find any samples at planetsourcecode and vbaccelerator :(
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 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.