Click to See Complete Forum and Search --> : visual C++ - CEdit boxes with connections?


BrainCracker
August 30th, 2005, 12:04 AM
i have to make a flowchart kinda application... where user can make boxes and enter some lines inside it and he can also connect these boxes together.
how do i go about doing it.
i tried doing it with CEdit,but it doesnt change the size of the edit box when the user need to enter more character than the box than assimilate, i want to change the size of the box dynamically until user finishes his job.
i've tried setwindowpos and movewindow but they only change the size, the new box is not editable, and morover, the old box still stays.

how do i solve this problem?
thanks!

andytim
August 30th, 2005, 11:49 PM
Hi Brain,
I think you should try XD++ MFC Flow/Diagram Kit,with
http://www.********.net/index.htm
it has all the features you would like,to allow you adding as many connectors as you want within the editbox,and then connect them with link line,like visio 2003.

Jack

Ejaz
August 31st, 2005, 12:39 AM
Also have a look at this,
CFlowchartEditor - linking things in CDiagramEditor (http://www.codeproject.com/miscctrl/flowcharteditor.asp)