Basic Separator Line Control

G

Guest

Hello,

I finally have to breakdown and ask.....

Is there a basic "Separating Line" control or "Bevel Line" control. It
appears as a simple 3D line.

I'd like to know if there is such a control or will I have to create my own
line control?

Examples: (Observe lines on these screen)

1) Use any generic file, Right-click file --> Properties --> General Tab

2) Open any Setup Wizard, observe line appearing between buttons wizard
content.


Thank you
 
D

David Wier

Are you talking about a line, to go on a form, or a separator to go between
menu items?
 
R

RobinS

I use a label with height = 1. Or you can draw a line if you really just
want a line.

Or are you talking about a separator on a menu?

Robin S.
 
G

Guest

Oh my goodness....
That's so cheesy, but it works!!!

Yes, I was inquiring about a basic line, not the splitter control.

That you all for your quick responses. It helps dull the pain of renewing my
MSDN subscription.

Not to mention I can now add several dozen badly needed/required line
separators.


Thanks again!

PS: I'm curious to know if this technique will hold up under Windows Vista.
 
R

RobinS

I would point out that these answers were free, you could have gotten them
w/o an MSDN subscription. :) We're not MSFT employees.

I don't see any reason this wouldn't work under Vista.

Robin S.
 
G

Guest

"I would point out that these answers were free...."

Rationalizing....
No..no....that's not true. I wouldn't have gotten a fast response without a
MSDN Subscription. My subscription is critical to my success as a developer.

Do not kill my joy....
 
H

Herfried K. Wagner [MVP]

Digital Slug said:
"I would point out that these answers were free...."

Rationalizing....
No..no....that's not true. I wouldn't have gotten a fast response without
a
MSDN Subscription. My subscription is critical to my success as a
developer.

Do not kill my joy....

You are invited to post some answers yourself as a thank you if the answer
you got has been helpful.

:)
 
R

RobinS

Well, you know, if you want to have an MSDN subscription, and it makes you
feel better and is helpful to you, then you should have it.

But this was still free advice! :-D

Robin S.
----------------------------------------
 
G

Guest

"You are invited to post some answers yourself as a thank you if the answer
you got has been helpful. :)" --H. Wagner

Hey...hey....I've been known to help with the dishes from time to time. :p


"and it makes you feel better and is helpful to you, then you should have
it." --RobinS

My MSDN Subscription definitely makes me feel better about myself. I'm
happier and feel tingly all over. Yeah...it's definitely working for me.


But back on the subject of software....
Granted, it's easy enough to use a Label to create a line, but I don't
understand why MS doesn't create a dedicated control for something so common.
I would think they would create one just to help keep things nice and tidy.

Thinking out loud.....
 
G

Guest

"You are invited to post some answers yourself as a thank you if the answer
you got has been helpful. :)" --H. Wagner

Hey...hey....I've been known to help with the dishes from time to time. :p
 
R

RobinS

My MSDN Subscription definitely makes me feel better about myself. I'm
happier and feel tingly all over. Yeah...it's definitely working for me.

Well, it's good to have *something* that makes you feel that way. Beer
would be cheaper, though. ;-)
Granted, it's easy enough to use a Label to create a line, but I don't
understand why MS doesn't create a dedicated control for something so
common.
I would think they would create one just to help keep things nice and
tidy.

Well, you could *draw* a line, but then you'd have to figure out exactly
where you wanted it. Their reasoning for not including this sort of thing
completely escapes me. As frequently as the question comes up in the
microsoft.public.dotnet.* newsgroups, it's obviously something that's
needed. I'm sure if I worked for Microsoft, I could get them to listen to
reason. Haha!

Robin S.
------------------------------------
 
G

Guest

"Well, it's good to have *something* that makes you feel that way. Beer
would be cheaper, though. ;-)"

True, but Nancy Regan once said, "Just Say No To Drugs [and Beer]"
Neither of which is conducive to writing good source code.

"....it's obviously something that's needed. I'm sure if I worked for
Microsoft, I could get them to listen to reason. Haha!"

If you were the Microsoft employee that created a line control, you'd
definitely earn you place on Oprah. Yeah, that's a control you could
definitely build a career on.

Tah tah....my application isn't going to document itself!
 
R

RobinS

Tah tah....my application isn't going to document itself!

It would if you put XML comments in it. Then you could generate the
documentation.

And if you figured out how to get code to generate its *own* documentation,
you would be revered and worshipped by programmers around the world. That's
bigger than even Oprah (I know, hard to imagine).

Robin S.
-----------------------------------------
Digital Slug said:
"Well, it's good to have *something* that makes you feel that way. Beer
would be cheaper, though. ;-)"

True, but Nancy Regan once said, "Just Say No To Drugs [and Beer]"
Neither of which is conducive to writing good source code.

"....it's obviously something that's needed. I'm sure if I worked for
Microsoft, I could get them to listen to reason. Haha!"

If you were the Microsoft employee that created a line control, you'd
definitely earn you place on Oprah. Yeah, that's a control you could
definitely build a career on.

Tah tah....my application isn't going to document itself!


RobinS said:
Well, it's good to have *something* that makes you feel that way. Beer
would be cheaper, though. ;-)


Well, you could *draw* a line, but then you'd have to figure out exactly
where you wanted it. Their reasoning for not including this sort of
thing
completely escapes me. As frequently as the question comes up in the
microsoft.public.dotnet.* newsgroups, it's obviously something that's
needed. I'm sure if I worked for Microsoft, I could get them to listen
to
reason. Haha!

Robin S.
 
G

Guest

"It would if you put XML comments in it. Then you could generate the
documentation."

Why thank you O' Wise_One. However, Mr. Slug does know how to auto generate
source code documentation. Just because I look goofy doesn't mean I am goofy.
:-/

Actually, I'm responsible for user documentation as well. Yes, I bring a
whole new meaning to the phrase "One-Stop Shopping." Kudos aren't free! It's
not a sin to have good writing skills.

Later RobinSsssssss.......

:p





RobinS said:
Tah tah....my application isn't going to document itself!

It would if you put XML comments in it. Then you could generate the
documentation.

And if you figured out how to get code to generate its *own* documentation,
you would be revered and worshipped by programmers around the world. That's
bigger than even Oprah (I know, hard to imagine).

Robin S.
-----------------------------------------
Digital Slug said:
"Well, it's good to have *something* that makes you feel that way. Beer
would be cheaper, though. ;-)"

True, but Nancy Regan once said, "Just Say No To Drugs [and Beer]"
Neither of which is conducive to writing good source code.

"....it's obviously something that's needed. I'm sure if I worked for
Microsoft, I could get them to listen to reason. Haha!"

If you were the Microsoft employee that created a line control, you'd
definitely earn you place on Oprah. Yeah, that's a control you could
definitely build a career on.

Tah tah....my application isn't going to document itself!


RobinS said:
My MSDN Subscription definitely makes me feel better about myself. I'm
happier and feel tingly all over. Yeah...it's definitely working for
me.

Well, it's good to have *something* that makes you feel that way. Beer
would be cheaper, though. ;-)

Granted, it's easy enough to use a Label to create a line, but I don't
understand why MS doesn't create a dedicated control for something so
common.
I would think they would create one just to help keep things nice and
tidy.

Well, you could *draw* a line, but then you'd have to figure out exactly
where you wanted it. Their reasoning for not including this sort of
thing
completely escapes me. As frequently as the question comes up in the
microsoft.public.dotnet.* newsgroups, it's obviously something that's
needed. I'm sure if I worked for Microsoft, I could get them to listen
to
reason. Haha!

Robin S.
------------------------------------
message

"You are invited to post some answers yourself as a thank you if the
answer
you got has been helpful. :)" --H. Wagner

Hey...hey....I've been known to help with the dishes from time to
time.
:p


"and it makes you feel better and is helpful to you, then you should
have
it." --RobinS

My MSDN Subscription definitely makes me feel better about myself. I'm
happier and feel tingly all over. Yeah...it's definitely working for
me.


But back on the subject of software....
Granted, it's easy enough to use a Label to create a line, but I don't
understand why MS doesn't create a dedicated control for something so
common.
I would think they would create one just to help keep things nice and
tidy.

Thinking out loud.....


:

Well, you know, if you want to have an MSDN subscription, and it
makes
you
feel better and is helpful to you, then you should have it.

But this was still free advice! :-D

Robin S.
----------------------------------------
message
"I would point out that these answers were free...."

Rationalizing....
No..no....that's not true. I wouldn't have gotten a fast response
without
a
MSDN Subscription. My subscription is critical to my success as a
developer.

Do not kill my joy....



:

I would point out that these answers were free, you could have
gotten
them
w/o an MSDN subscription. :) We're not MSFT employees.

I don't see any reason this wouldn't work under Vista.

Robin S.
----------------------------------
message
Oh my goodness....
That's so cheesy, but it works!!!

Yes, I was inquiring about a basic line, not the splitter
control.

That you all for your quick responses. It helps dull the pain of
renewing
my
MSDN subscription.

Not to mention I can now add several dozen badly needed/required
line
separators.


Thanks again!

PS: I'm curious to know if this technique will hold up under
Windows
Vista.



:

"Digital Slug" <[email protected]>
schrieb:
Is there a basic "Separating Line" control or "Bevel Line"
control.
It
appears as a simple 3D line.

Wrapping Win32 Controls in .NET - Horizontal and Vertical Rules
<URL:http://www.codeproject.com/cs/miscctrl/hvrules1.asp>

Alternatively you can use a label control with width or height
set
to
2,
and
'BorderStyle' set to 'Fixed3D' to create an inset line.
 
R

RobinS

Slugboy,

I didn't mean that to sound snotty. Did you know a lot of people don't
actually know that? And since I spent quite a bit of Saturday going through
and adding XML comments to one of my own projects, it was uppermost in my
mind. (I don't understand why I can't add the darn things as I go along. So
annoying.)

Have fun with your user documentation. Been there, done that.

Robin S.
------------------------------------
Digital Slug said:
"It would if you put XML comments in it. Then you could generate the
documentation."

Why thank you O' Wise_One. However, Mr. Slug does know how to auto
generate
source code documentation. Just because I look goofy doesn't mean I am
goofy.
:-/

Actually, I'm responsible for user documentation as well. Yes, I bring a
whole new meaning to the phrase "One-Stop Shopping." Kudos aren't free!
It's
not a sin to have good writing skills.

Later RobinSsssssss.......

:p





RobinS said:
Tah tah....my application isn't going to document itself!

It would if you put XML comments in it. Then you could generate the
documentation.

And if you figured out how to get code to generate its *own*
documentation,
you would be revered and worshipped by programmers around the world.
That's
bigger than even Oprah (I know, hard to imagine).

Robin S.
-----------------------------------------
message
"Well, it's good to have *something* that makes you feel that way.
Beer
would be cheaper, though. ;-)"

True, but Nancy Regan once said, "Just Say No To Drugs [and Beer]"
Neither of which is conducive to writing good source code.

"....it's obviously something that's needed. I'm sure if I worked for
Microsoft, I could get them to listen to reason. Haha!"

If you were the Microsoft employee that created a line control, you'd
definitely earn you place on Oprah. Yeah, that's a control you could
definitely build a career on.

Tah tah....my application isn't going to document itself!


:

My MSDN Subscription definitely makes me feel better about myself.
I'm
happier and feel tingly all over. Yeah...it's definitely working
for
me.

Well, it's good to have *something* that makes you feel that way.
Beer
would be cheaper, though. ;-)

Granted, it's easy enough to use a Label to create a line, but I
don't
understand why MS doesn't create a dedicated control for something
so
common.
I would think they would create one just to help keep things nice
and
tidy.

Well, you could *draw* a line, but then you'd have to figure out
exactly
where you wanted it. Their reasoning for not including this sort of
thing
completely escapes me. As frequently as the question comes up in the
microsoft.public.dotnet.* newsgroups, it's obviously something that's
needed. I'm sure if I worked for Microsoft, I could get them to
listen
to
reason. Haha!

Robin S.
------------------------------------
message

"You are invited to post some answers yourself as a thank you if
the
answer
you got has been helpful. :)" --H. Wagner

Hey...hey....I've been known to help with the dishes from time to
time.
:p


"and it makes you feel better and is helpful to you, then you
should
have
it." --RobinS

My MSDN Subscription definitely makes me feel better about myself.
I'm
happier and feel tingly all over. Yeah...it's definitely working
for
me.


But back on the subject of software....
Granted, it's easy enough to use a Label to create a line, but I
don't
understand why MS doesn't create a dedicated control for something
so
common.
I would think they would create one just to help keep things nice
and
tidy.

Thinking out loud.....


:

Well, you know, if you want to have an MSDN subscription, and it
makes
you
feel better and is helpful to you, then you should have it.

But this was still free advice! :-D

Robin S.
----------------------------------------
message
"I would point out that these answers were free...."

Rationalizing....
No..no....that's not true. I wouldn't have gotten a fast
response
without
a
MSDN Subscription. My subscription is critical to my success as
a
developer.

Do not kill my joy....



:

I would point out that these answers were free, you could have
gotten
them
w/o an MSDN subscription. :) We're not MSFT employees.

I don't see any reason this wouldn't work under Vista.

Robin S.
----------------------------------
in
message
Oh my goodness....
That's so cheesy, but it works!!!

Yes, I was inquiring about a basic line, not the splitter
control.

That you all for your quick responses. It helps dull the pain
of
renewing
my
MSDN subscription.

Not to mention I can now add several dozen badly
needed/required
line
separators.


Thanks again!

PS: I'm curious to know if this technique will hold up under
Windows
Vista.



:

"Digital Slug" <[email protected]>
schrieb:
Is there a basic "Separating Line" control or "Bevel Line"
control.
It
appears as a simple 3D line.

Wrapping Win32 Controls in .NET - Horizontal and Vertical
Rules
<URL:http://www.codeproject.com/cs/miscctrl/hvrules1.asp>

Alternatively you can use a label control with width or
height
set
to
2,
and
'BorderStyle' set to 'Fixed3D' to create an inset line.
 
G

Guest

" I didn't mean that to sound snotty."

It's okay...I wasn't offended in the least. Actually, I enjoy genuine
snottiness. It's hard to find high quality snot these days. People try, but
it's mostly thin and watered down. It's all about nose shape, humidity,
temperature. That's how you get the good stuff. Yes indeed.

"I don't understand why I can't add the darn things as I go along."

Ugh...sure you can....ugh...just add them as you go along.
Sounds like a new thread to me. Muhahahaha......

"Have fun with your user documentation. Been there, done that."

Oh now...you can't be that old. :)

Later Robin_Capital_S


RobinS said:
Slugboy,

I didn't mean that to sound snotty. Did you know a lot of people don't
actually know that? And since I spent quite a bit of Saturday going through
and adding XML comments to one of my own projects, it was uppermost in my
mind. (I don't understand why I can't add the darn things as I go along. So
annoying.)

Have fun with your user documentation. Been there, done that.

Robin S.
------------------------------------
Digital Slug said:
"It would if you put XML comments in it. Then you could generate the
documentation."

Why thank you O' Wise_One. However, Mr. Slug does know how to auto
generate
source code documentation. Just because I look goofy doesn't mean I am
goofy.
:-/

Actually, I'm responsible for user documentation as well. Yes, I bring a
whole new meaning to the phrase "One-Stop Shopping." Kudos aren't free!
It's
not a sin to have good writing skills.

Later RobinSsssssss.......

:p





RobinS said:
Tah tah....my application isn't going to document itself!

It would if you put XML comments in it. Then you could generate the
documentation.

And if you figured out how to get code to generate its *own*
documentation,
you would be revered and worshipped by programmers around the world.
That's
bigger than even Oprah (I know, hard to imagine).

Robin S.
-----------------------------------------
message
"Well, it's good to have *something* that makes you feel that way.
Beer
would be cheaper, though. ;-)"

True, but Nancy Regan once said, "Just Say No To Drugs [and Beer]"
Neither of which is conducive to writing good source code.

"....it's obviously something that's needed. I'm sure if I worked for
Microsoft, I could get them to listen to reason. Haha!"

If you were the Microsoft employee that created a line control, you'd
definitely earn you place on Oprah. Yeah, that's a control you could
definitely build a career on.

Tah tah....my application isn't going to document itself!


:

My MSDN Subscription definitely makes me feel better about myself.
I'm
happier and feel tingly all over. Yeah...it's definitely working
for
me.

Well, it's good to have *something* that makes you feel that way.
Beer
would be cheaper, though. ;-)

Granted, it's easy enough to use a Label to create a line, but I
don't
understand why MS doesn't create a dedicated control for something
so
common.
I would think they would create one just to help keep things nice
and
tidy.

Well, you could *draw* a line, but then you'd have to figure out
exactly
where you wanted it. Their reasoning for not including this sort of
thing
completely escapes me. As frequently as the question comes up in the
microsoft.public.dotnet.* newsgroups, it's obviously something that's
needed. I'm sure if I worked for Microsoft, I could get them to
listen
to
reason. Haha!

Robin S.
------------------------------------
message

"You are invited to post some answers yourself as a thank you if
the
answer
you got has been helpful. :)" --H. Wagner

Hey...hey....I've been known to help with the dishes from time to
time.
:p


"and it makes you feel better and is helpful to you, then you
should
have
it." --RobinS

My MSDN Subscription definitely makes me feel better about myself.
I'm
happier and feel tingly all over. Yeah...it's definitely working
for
me.


But back on the subject of software....
Granted, it's easy enough to use a Label to create a line, but I
don't
understand why MS doesn't create a dedicated control for something
so
common.
I would think they would create one just to help keep things nice
and
tidy.

Thinking out loud.....


:

Well, you know, if you want to have an MSDN subscription, and it
makes
you
feel better and is helpful to you, then you should have it.

But this was still free advice! :-D

Robin S.
----------------------------------------
message
"I would point out that these answers were free...."

Rationalizing....
No..no....that's not true. I wouldn't have gotten a fast
response
without
a
MSDN Subscription. My subscription is critical to my success as
a
developer.

Do not kill my joy....



:

I would point out that these answers were free, you could have
gotten
them
w/o an MSDN subscription. :) We're not MSFT employees.

I don't see any reason this wouldn't work under Vista.

Robin S.
----------------------------------
in
message
Oh my goodness....
That's so cheesy, but it works!!!

Yes, I was inquiring about a basic line, not the splitter
control.

That you all for your quick responses. It helps dull the pain
of
renewing
my
MSDN subscription.

Not to mention I can now add several dozen badly
needed/required
line
separators.


Thanks again!

PS: I'm curious to know if this technique will hold up under
Windows
Vista.



:

"Digital Slug" <[email protected]>
schrieb:
Is there a basic "Separating Line" control or "Bevel Line"
control.
It
appears as a simple 3D line.

Wrapping Win32 Controls in .NET - Horizontal and Vertical
Rules
<URL:http://www.codeproject.com/cs/miscctrl/hvrules1.asp>

Alternatively you can use a label control with width or
height
set
to
2,
and
'BorderStyle' set to 'Fixed3D' to create an inset line.
 
R

RobinS

Digital Slug said:
" I didn't mean that to sound snotty."

It's okay...I wasn't offended in the least. Actually, I enjoy genuine
snottiness. It's hard to find high quality snot these days. People try,
but
it's mostly thin and watered down. It's all about nose shape, humidity,
temperature. That's how you get the good stuff. Yes indeed.

Well, I *do* have a sinus infection, which probably explains a lot.
"I don't understand why I can't add the darn things as I go along."

Ugh...sure you can....ugh...just add them as you go along.
Sounds like a new thread to me. Muhahahaha......

But what if I have to change something, remove a procedure, add a new one?
I'd have to change the comments. (You need to read that in exactly the same
tone of voice as Hayden Christensen playing Anakin Skywalker in SW2 Attack
of the Clones said, "Obi-Wan is holding me back!!" -- as whiny as
possible.)
"Have fun with your user documentation. Been there, done that."

Oh now...you can't be that old. :)

You'd be surprised.

Have fun, slugboy.
Robin S.
 
G

Guest

"But what if I have to change something, remove a procedure, add a new one?"

Well Robin Sykwalker, if you're using XML tags in your code, you should be
able to edit your comments. If you're deleting obsolete procedures, wouldn't
you want to toss obsolete documentation? (Ponder that grasshopper) You can
always just comment out your....well comments. You know you can put your
documentation/comments anywhere you want.

We're counting on you Robin, don't go "End User" on us! :p

Use the force.....or IBM's Sever Pixy dust. Both will do the trick.

"You need to read that in exactly the same tone of voice as Hayden
Christensen....."

Yeah, that was high-quality whining. Now you're really showing your age.
You chose Classic Coke and criticized New Coke.

Senator...I knew Anakin Skywalker....
I served with Anakin Skywalker.....
I worked with Anakin Skywalker.....
Robin.....you're no Anakin Skywalker.....


Happy computing Boy Wonder,
DS

PS: Your name is gender-neutral so I can use boy or girl jabs anytime I
want. :)
 
R

RobinS

Hello, slugboy,

You're cracking me up!

I hate to tell you this, but I'm a Pepsi drinker. But I do remember when
they came out with New Coke.
PS: Your name is gender-neutral so I can use boy or girl jabs anytime I
want. :)

And I refrain from saying, primarily because it was really irritating that
troll, AaronKempf, who kept trying to bait me.

Robin S.
Ts'i mahnu uterna ot twan ot geifur hingts uto.
-----------------------------------------------------------
 

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

Top