Hi,
I am new to Visual Studio and I need to make an application with graphics (mostly lines and arcs). My question is what component you use for drawing graphics (like in Borland Builder is TPaintBox component). To be more specific, which component you use to take the device content from in Visual Studio.
Thank you,
Denny_B
/*edited*/ The application will be dialog based.
Comments
: Hi,
: I am new to Visual Studio and I need to make an application with
: graphics (mostly lines and arcs). My question is what component you
: use for drawing graphics (like in Borland Builder is TPaintBox
: component). To be more specific, which component you use to take the
: device content from in Visual Studio.
: Thank you,
: Denny_B
: /*edited*/ The application will be dialog based.
:
: : Hi,
: : I am new to Visual Studio and I need to make an application with
: : graphics (mostly lines and arcs). My question is what component you
: : use for drawing graphics (like in Borland Builder is TPaintBox
: : component). To be more specific, which component you use to take the
: : device content from in Visual Studio.
: : Thank you,
: : Denny_B
: : /*edited*/ The application will be dialog based.
:
:
Is this a .NET project?
-[italic][b][red]S[/red][purple]e[/purple][blue]p[/blue][green]h[/green][red]i[/red][purple]r[/purple][blue]o[/blue][green]t[/green][red]h[/red][/b][/italic]
: :
: : : Hi,
: : : I am new to Visual Studio and I need to make an application with
: : : graphics (mostly lines and arcs). My question is what component you
: : : use for drawing graphics (like in Borland Builder is TPaintBox
: : : component). To be more specific, which component you use to take the
: : : device content from in Visual Studio.
: : : Thank you,
: : : Denny_B
: : : /*edited*/ The application will be dialog based.
: :
: :
: Is this a .NET project?
: -[italic][b][red]S[/red][purple]e[/purple][blue]p[/blue][green]h[/gre
: en][red]i[/red][purple]r[/purple][blue]o[/blue][green]t[/green][red]h
: [/red][/b][/italic]
No, the project is not .NET. It is a stand alone simple .exe project.
Is the Picturebox mentioned above Picture Control?
Thanks for your time and effort to help.
Denny_B
: Is the Picturebox mentioned above Picture Control?
: Thanks for your time and effort to help.
: Denny_B
:
:
u want a simple program for drawing??
i'm making one program like paint, maybe i can give u when i've done.. ^^
i'm thought u just asking for the component for drawing image.
hehehe.....
: : Is the Picturebox mentioned above Picture Control?
: : Thanks for your time and effort to help.
: : Denny_B
: :
: :
:
: u want a simple program for drawing??
: i'm making one program like paint, maybe i can give u when i've
: done.. ^^
: i'm thought u just asking for the component for drawing image.
: hehehe.....
:
Oh thanks,
I have the application writen already in Builder C++, but I am not really happy with some limitations of Builder C++ in graphics (using Canvas object for drawing), so I thought I would migrate to Visual C++, but it's hard for me to understand how everything works in Visual C++, user interface is killing me. I can't do simple things, which takes me seconds in Builder C++, I am locked in it.
The original question was what component should I use for drawing lines and arcs in Visual C++.
I have to decide which way to go,
Denny_B
Regards,
Denny
As i mentioned before, you would then probably need to add some code to that user control to handle the OnPaint() event, and thats where you will have access to the Graphics obect, and thats the opportune moment to do any drawing thats required using the system.drawing namespace classes with the graphics object of the control.. Hope that helps..
Alternatively you could hunt around for a .NET control that someone else may have done that allready handles this kind of "canvas" functionality.. but thats cheating.
Thanks for your help, I apreciate it,
Denny_B
I am also new to Visual studio..
still i have a little bit of knowledge about these...
so, pls any one know briefly explain these..
Thank you
http://www.prodigyapex.com