« Lightsprint | Main | FX Composer 2.0 RC1 »
July 04, 2007
Improved drag-drop implementation (CodeProject)
This is a demo application that shows how to implement a drag and drop solution that gives you more positioning control. As long as you move an object within its container, there is no need to perform a true drag and drop operation; you simply change its location. This application shows how to automatically switch between the two methods. To do some exact positioning you would like to see the outline of the object while moving it. This application also shows how to do this. It's also possible to move the object with the arrow keys. To align objects you most likely need some grid to snap against. This is also included in this application. To give this demo some more value the drag-drop object is also resizable via a corner grip. This is all done in Visual Studio 2005 and the 2.0 framework.
Posted by JayK at July 4, 2007 11:49 AM
Comments
Post a comment
Thanks for signing in, . Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)