Dave's Brain

Browse - Programming Tips - How can I make a groupbox-like horizontal line (rule)?

Date: 2009jan14
Platform: win32

Q.  How can I make a groupbox-like horizontal line (rule)?
    (Like an HTML's <hr>)

A.  Put this in your resource file:

CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,10,10,400,1

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.