473,385 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Shadow Line Below Menu?

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
2 1802
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Paulo Jan | last post by:
Hi all: I've got the following example page: http://www.arrakis.es/~paulj/test.html, where I try to simulate a drop shadow effect in the upper and lower <DIV>s. It works perfectly in Mozilla,...
0
by: sameer | last post by:
Hi, My application is using VS2003 , VB.Net with Sql server 2000. The application has an MDI environment with several MDI child forms in the main MDI form. At times , just at times due to dont...
0
by: sameer | last post by:
Hi, My application is using VS2003 , VB.Net with Sql server 2000. The application has an MDI environment with several MDI child forms in the main MDI form. I use Devexpress Grids ( a third party...
0
by: jimfortune | last post by:
Below are VBA functions to create PDF drawing commands for a white rectangle with a black border and a black shadow. Perhaps someone will find them useful. 'Sample call strStream = strStream &...
0
by: Damien Anselmi | last post by:
I am using the CompileAssemblyFromSource method of an ICodeCompiler instance to dynamically compile an assembly used by a Web Application. The assembly may be recompiled any number of times during...
0
by: Patrick F | last post by:
I keep getting this error message and i don't know whats the problem is and how to solve it. I have a webproject with 2 components (dll) added to it. One is called PhotoGallery and one is called...
1
by: Patrick F | last post by:
I keep getting this error message and i don't know whats the problem is and how to solve it. I have a webproject with 2 components (dll) added to it. One is called PhotoGallery and one is called...
16
by: eholz1 | last post by:
Hello CSS group, I saw a beautiful effect that I would like to use either by CSS or using photoshop to create the image/effect (maybe even imagemagick) the site address is:...
3
by: mechphisto | last post by:
So I'm Web browsing and I go to rottentomatoes.com, and I see something interesting: If you go to any movie page, you'll see on the top left, above and below the film poster image, the names of a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.