I am programming in C, using the Windows API, and would like to know how I could draw separators. I would appreciate a code example.
Edit: Here's an illustration.
(source: microsoft.com)
Use a static control/window with the SS_ETCHEDHORZ style (This is what explorer does and should give you the most accurate rendering when it comes to Visual Styles)