J
Jacky Luk
Does anyone know of a downloadable Line ActiveX control which allows me to
plot straight lines on a VC++.NET form?
Thanks
Jack
plot straight lines on a VC++.NET form?
Thanks
Jack
Jacky Luk said:Does anyone know of a downloadable Line ActiveX control which allows me to
plot straight lines on a VC++.NET form?
Derrick said:Jacky Luk said:Does anyone know of a downloadable Line ActiveX control which allows me
to plot straight lines on a VC++.NET form?
I'm not sure exactly what you have in mind, but you should be able to draw
simple straight lines on a form using Control::CreateGraphics() and
Graphics:rawLine() as follows: [ snip ]
Yes. Though, I need to draw the lines visually at design time
Derrick Coetzee said:Derrick said:Does anyone know of a downloadable Line ActiveX control which allows me
to plot straight lines on a VC++.NET form?
I'm not sure exactly what you have in mind, but you should be able to draw
simple straight lines on a form using Control::CreateGraphics() and
Graphics:rawLine() as follows: [ snip ]
Yes. Though, I need to draw the lines visually at design time
If it's only horizontal and vertical lines you're interested in, you might
check out this article:
http://msdn.microsoft.com/library/d...vxconchangestolinecontrolinvisualbasicnet.asp
Although it references VB.NET, the controls are the same in every .NET
language and the same trick should work:
"During upgrade, vertical or horizontal Line controls are replaced with the
Windows Forms Label control, with the Text property set to an empty string,
the BorderStyle property set to none, and the BackColor, Width, and Height
properties set to match the original control."
If you're looking instead to draw lines of arbitrary slope, unfortunately I
haven't found anything to do this, but if you're interested I could whip
something up.
tsda said:Derrik:
Ironic Process (low cost) (and graphics server.com-high cost)) have nice
Graphics server engines that can be added to a form in vc++.net via this
added toolbox plugin, and nicely complements the existing toolbox in
vc++.NET. I can't get them hooked up to read file data and update in real
time as a file changes. It's easy to load the server to a form but I'm stuck
on these real simple looking Ironic.ChartControl namespace method calls
below. Can you help/recommend? Info below. Thanks, Mike
Mike Barna said:All the company provides is in my email. Cool applett but no supporting code
or samples. Do you know of a vc++ form ready for graphics that I can drop in
code to handle a file that gets updated in real time without having to write
one?