Please help me
-
You have a microsoft certificate, or you want one ? Why don't you register ? What do you want to know ? You want to create drag and drop objects, like Visio ? To do that, you need an array of objects and an array of points that represent where you can grab an object. When someone clicks, you need to step through your array and work out if something has been clicked that you want to drag, then you need to move the co-ordinates for that object as you drag. Finally, your draw function should redraw the objects based on those co-ordinates. Christian Graus - Microsoft MVP - C++
-
If you only need some simple drawing feature,the drawcli sample is a good start,you can find this sample with: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample/html/_sample_mfc_DRAWCLI.asp[^] But if you want a Visio like drag-drop,drawing,alignment features etc,I think you should try some third-party library,such as XD++ MFC Library,it shipps with full MFC Source Codes,and can be found with: http://www.ucancode.net Jack