post  static with legend

chris (70)   Link to this post
I've been trying this for a while now & I cannot seem to figure out how to do it.
What I am looking to achieve is a what is the same affect as HTML:
<fieldset>
<legend>Hello</legend>
</fieldset>
I can get the appearance of it, just without the legend:
 
CreateWindowEx(0,"STATIC","Hello",SS_ETCHEDFRAME|WS_CHILD|WS_VISIBLE,25,200,100,100,hwnd,NULL,hThisInstance,NULL);

Any help appreciated.

This topic is archived - New replies not allowed.