Shadow Line Below Menu?

  • Thread starter Thread starter Schorschi
  • Start date Start date
S

Schorschi

How do I draw a XP style shadow line below the menubar of an
application. Not a separator line, but a line that separates the menu
bar from the reset of the client area?

I know how to draw a line during the paint event, etc. via a brush or
pen, but what colors should I use so that it looks right in XP?
 
use the SystemColors enumeration

probably SystemColors.Control or SystemColors.ControlDark
 
(e-mail address removed) (Schorschi) scripsit:
How do I draw a XP style shadow line below the menubar of an
application. Not a separator line, but a line that separates the menu
bar from the reset of the client area?

I know how to draw a line during the paint event, etc. via a brush or
pen, but what colors should I use so that it looks right in XP?

Have a look at the 'SystemColors' enum.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top