Try and get as much done as possible in the shapesheet(s). ShapeStudio is a
steep learning curve and only pays benefits if you are building a collection
of shapes with similar features.
You can add VBA exits in the stencil/template to implement the imposed
rules.
John... Visio MVP
Need stencils or ideas?
http://visio.mvps.org/3rdparty.htm
Need VBA examples?
http://visio.mvps.org/VBA.htm
Visio Wishlist
http://visio.mvps.org/wish_list.htm
"John F. Holliday" <john.holliday.RemoveThis@idea.com> wrote in message
news:ba01dcafa6368c8e842aa1e5a9a@msnews.microsoft.com...
> I'm a seasoned developer, but new to Visio development. I've perused the
> available materials, but need a bit of quick guidance to point me in the
> right direction.
>
> First a scenario. I want to create a shape that:
>
> - displays a simple icon of, say, a C# class or structure
> - provides a control point that lets the user drag out a variety of
> pre-defined connected shapes of, say, properties and methods
> - imposes rules on which shapes can be dragged out, etc.
>
> I'm thinking I should be looking into ShapeStudio to create the shapes and
> modify the ShapeSheets to implement the functionality. Or should I be
> looking into writing custom C# code?
>
> I'm using Visio 2007 and I installed the SDK, but I can't seem to get it
> going. The documentation seems to presume quite a bit of background, but
> don't provide much help for the uninitiated. Any help would be
> appreciated.
>
> John F. Holliday
> Principal Architect - Information Worker Solutions
> Idea Integration, Inc.
>
>