How to design graphical component using GDI+

Hi,

I want to know that how create graphical components using GDI+ like i have a box which will have input port/outport and those components can be connected to other components.

Each components will have their own different properties.

Could someone suggest a way or provide any link or document available on this?

Thanks
cdeveloper

This might be a good starting point?

Starting with GDI+
http://www.codeproject.com/Articles/1112/Starting-with-GDI

(if you search codeproject.com for GDI+, you'll find assorted other article or various degrees of usefulness...)

And then

Using GDI+
http://msdn.microsoft.com/en-us/library/ms533802%28v=vs.85%29.aspx

But I don't think Gdi+ has boxes with input and outport ports (though I don;t really know what you mean by that). Might be something you have to implement yourself.

Andy

PS This FAQ might be of use, too?

GDI+ FAQ
http://bobpowell.net/faqmain.aspx
This might be a good starting point?

Starting with GDI+
http://www.codeproject.com/Articles/1112/Starting-with-GDI

(if you search codeproject.com for GDI+, you'll find assorted other article or various degrees of usefulness...)

And then

Using GDI+
http://msdn.microsoft.com/en-us/library/ms533802%28v=vs.85%29.aspx

But I don't think Gdi+ has boxes with input and outport ports (though I don;t really know what you mean by that). Might be something you have to implement yourself.

And this FAQ might be of use, too?

GDI+ FAQ
http://bobpowell.net/faqmain.aspx

Andy

PS Out of interest, why have you chosen to go with GDI++ ?
Thanks andywestken.

Boxes i mean like rectangles.

No specific reason for choosing GDI++ but this is what i read in different articles when i was searching Windows graphics programming.

i am actually working on data flow application which uses custom data flow diagrams and i thought to use GDI+.

If you have any good starting point on data flow application plz share the details.

Deependra
No specific reason for choosing GDI++

Ah, ok.

If you have any good starting point

Not really. It should be relatively routine to code: write down key requirements, produce an initial design, etc.

When it comes to implementation, you can code a simple app which just draws the boxes and then test it. Then add feature by feature.

The obvious stuff?

Andy
Last edited on
Thanks Andy for hint.
Topic archived. No new replies allowed.