473,412 Members | 2,142 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,412 software developers and data experts.

etched line look quickly

Is there a quick way to produce an etched line look that microsoft uses to
split up sections (similar to the bottom line of a group box) with out
actually using the GDI commands to draw it as line and another line? i
thought i saw a way in the past but cant find it now... thanks
Nov 20 '05 #1
2 1563
* "Brian Henry" <brianiup[nospam]@adelphia.net> scripsit:
Is there a quick way to produce an etched line look that microsoft uses to
split up sections (similar to the bottom line of a group box) with out
actually using the GDI commands to draw it as line and another line? i
thought i saw a way in the past but cant find it now... thanks


Are you looking for something similar to 'RoundRect' in GDI API?

I never used it, but have a look at 'System.Drawing.Drawing2D.LineJoin'.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet/>
Nov 20 '05 #2
I like the way I found better :) the controlpaint class has a method for
doing it, but thanks!
"Charles Law" <bl***@nowhere.com> wrote in message
news:eN**************@TK2MSFTNGP12.phx.gbl...
Hi Brian

The trick of using a label with BorderStyle = Fixed3D and Height = 2 works
in VB.NET.

HTH

Charles
"Brian Henry" <brianiup[nospam]@adelphia.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Is there a quick way to produce an etched line look that microsoft uses to split up sections (similar to the bottom line of a group box) with out
actually using the GDI commands to draw it as line and another line? i
thought i saw a way in the past but cant find it now... thanks


Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Hal Vaughan | last post by:
Is there a maximum length for Javascript program lines? What about strings? Is there a limit on string length? I found some references that said the maximum string length was 256 characters,...
4
by: Jeff Thies | last post by:
It seems that there can be too many words on a line. This is a problem with pages that are not fixed width. There seems to be a few problems. 1) Finding where the next line starts after...
0
by: dtSearch | last post by:
Press Contact: Belinda Banks S&S Public Relations (212) 946-2823 Belinda@sspr.com Announcing New dtSearch® Product Line Version Release Adds Broader Spider Capabilities to dtSearch Desktop,...
0
by: dtsearch | last post by:
Announcing dtSearch® Product Line Release With New Terabyte Indexer New Version Can Index Over a Terabyte of Text in a Single Index, With Indexed Search Time Typically Under a Second BETHESDA,...
1
by: newbie | last post by:
In MS Access 2000, the text attributes in the properties panel for a label or text control do not include any shadowed, embossed or etched option. How do you get text to look etched (eg, to add a...
5
by: Guadala Harry | last post by:
Suppose I need to make an ASP.NET Web application inaccessible to anyone trying to open any of its pages. How can this be done quickly - and in a way that allows me to bring the whole thing back...
4
by: muriwai | last post by:
Hi, Which standard control on the Toolbox of Visual Studio 2005 can I use to add a black or etched line (separator) to my form? Thanks
59
by: David Mathog | last post by:
Apologies if this is in the FAQ. I looked, but didn't find it. In a particular program the input read from a file is supposed to be: + 100 200 name1 - 101 201 name2 It is parsed by reading...
11
by: Horacius ReX | last post by:
Hi, I have to search for a string on a big file. Once this string is found, I would need to get the number of the line in which the string is located on the file. Do you know how if this is...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.