moonlightcyber
asked on
change color and font weight of text in taskbar button
Hi,
I am wondering if there is anyway to chnage the color and font weight of the taskbar app button.
I am currenly using setwindowtext to set the title bar at run time and therefore the taskbar bvutton.
If you know of any techniques please let me know. even if they are supremely difficult.
thankyou
I am wondering if there is anyway to chnage the color and font weight of the taskbar app button.
I am currenly using setwindowtext to set the title bar at run time and therefore the taskbar bvutton.
If you know of any techniques please let me know. even if they are supremely difficult.
thankyou
Hi!
Only bossible to make the whole form as graphical and remove the taskbar and draw own ones.
This is not "font weight" any more it's bitmap.
The API in this case is very problematic you can have one bar chanced, but the system will update them back.
Also this kind of modification may have bad effects in the other programs in case of freezes and malfunctions in may force to reboot I once tried to tamper the locales of app windows and that was not a solution.
Matti
Only bossible to make the whole form as graphical and remove the taskbar and draw own ones.
This is not "font weight" any more it's bitmap.
The API in this case is very problematic you can have one bar chanced, but the system will update them back.
Also this kind of modification may have bad effects in the other programs in case of freezes and malfunctions in may force to reboot I once tried to tamper the locales of app windows and that was not a solution.
Matti
I know how to change these kind of thing for command button, let me do a little change to my code and maybe, i could post it...
See this link, pointing to a dll that does what you want:
http://www.codeguru.com/advancedui/CustomCaptions.shtml
http://www.codeguru.com/advancedui/CustomCaptions.shtml
ASKER
well, looked at the at the link ritchie..not what i need..i just want to chnage the taskbar button for may pp so that it stands out in relation to any others..i am assuming this is not possible?
Basically my app tells a user how much money they owe and i'm using setwindowtext to constantly change it.
perhaps i could have my app buiild a bitmap every so often and have windows repaint the taskbar button with that bitmap?
any ideas, greatly appreciated .
regards
Basically my app tells a user how much money they owe and i'm using setwindowtext to constantly change it.
perhaps i could have my app buiild a bitmap every so often and have windows repaint the taskbar button with that bitmap?
any ideas, greatly appreciated .
regards
But, to change taskbar, you need to change caption itself.
You could change checking resize event, if it is vbminimized, you change, if not you stay normal.
You could change checking resize event, if it is vbminimized, you change, if not you stay normal.
ASKER
ok. All i want to do is be able to change the style of my app's related taskbar button's text independantly of any others and at any time i may wish to do so.
When it is an inactive window the text is not bold, when it is active it is bold.
I want to have my apps taskbar button bold all of the time and red.
Can this be done?
When it is an inactive window the text is not bold, when it is active it is bold.
I want to have my apps taskbar button bold all of the time and red.
Can this be done?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
much appreciated, will check it out as soon as.
thanks
thanks
ASKER
danka shurn
R.