Dave's Brain

Browse - programming tips - win32 horizontal 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
What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2012, 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.
Advertisements: