By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,681 Members | 1,335 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,681 IT Pros & Developers. It's quick & easy.

Shadow Line Below Menu?

P: n/a
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?
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
use the SystemColors enumeration

probably SystemColors.Control or SystemColors.ControlDark

-----Original Message-----
How do I draw a XP style shadow line below the menubar of anapplication. Not a separator line, but a line that separates the menubar from the reset of the client area?

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

Nov 20 '05 #2

P: n/a
Sc*******@DSLExtreme.COM (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.

--
Herfried K. Wagner
MVP VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.