Resource editor
-
I am looking for a resource editor component that allows users dynamically select controls from a palette, draw them on a layer, position them and manage their properties. The mechanism should be Visio® like. Thanks
What you are looking for is probably a quite complex control - maybe even an ActiveX Control container. Drag'n'drop stuff is not my favorite. There is an ATL sample called "VBLite", which does this and is available on the net. You may however also take a look at the "DHTML Editing component". This ActiveX is available with IE4 and comes with IE5. There is something called a "DHTML Editing SDK" with some nice VB and MFC samples. You actually wind up with a HTML page. You can make your own controls by creating DTC controls or wrapping HTML elements as absolutely positioned layers. I'm developing a Dialog Editor using it. So far it's looking good. Find it at http://www.viksoe.dk under "WTL / Projects"... regards bjarke