trasparent text on a toolbar button
Posted on 1999-12-03
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).