Tech Support > Microsoft Windows > Development Resources > Setting the text of a Static Control
Setting the text of a Static Control
Posted by Admirer on November 12th, 2007


Why am I not able to set text if using SS_ETCHEDFRAME (included
SS_NOTIFY also)

I even tried to Change using
1. SetWindowText()
2.SendMessage(hStat,WM_SETTEXT,0,myText);
3.Processed WM_CTLCOLORSTATIC:

When I remove that SS_ETCHEDFRAME everything working Fine.How can I
get around this?

Posted by Christian ASTOR on November 12th, 2007


Admirer wrote:
OD or Group Box.

Posted by Admirer on November 12th, 2007


Its a static control,Win32 programming

Posted by Christian ASTOR on November 13th, 2007


On 12 nov, 10:16, Admirer <rrohi...@gmail.com> wrote:
If you don't want an OD static control, a BS_GROUPBOX button has a
text and an etched frame, drawn also with DrawEdge() & EDGE_ETCHED if
not themed



Similar Posts