gianluca
asked on
trasparent text on a toolbar button
I would like to add a simple text on a toolbar imaged-button using a TLabel or a TStaticText component, in this way I can change the text on the button at run-time and customize it. I tried with a TLabel component, setting its Trasparent property to true, but it not works on the toolbar. I tried to add a WMCTLCOLORSTATIC message using a TStaticText component and pass NULL_BRUSH (or HOLLOW_BRUSH) as result, but it still not works (it is not trasparent).
You want to cover the toolbutton.caption?
menxin
menxin
ASKER
I use a ImageList to cover the button with some icons, but in the same time I want put a label on this image; and I need to change this text at runtime.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What's with the C grade on a comment you stingy p***k? If you don't like a comment, then don't turn it into an answer.
Ciao, Mike