Hi.
How to reach ability of changing shape's bounds via its handles in this ituation:
- my own shape class derived from Shape (Actor shape)
- object of shape class has set HandlesStyle = HandlesStyle.EasyMove
- my own behaviour class ClsCustomBehavior derived from WinForms.Behaviors.BehaviorBase
- Me.fcDiagramView.CustomBehavior = New ClsCustomBehavior(Me.fcDiagramView)
Problem is, that there are no handles so Im checking cursor position in my ClsCustomBehavior class. But it is possible only when cursor is in shape area (thats logical). So cursor reacts only on the edge and inside of the shape. Thats why its impossible to change size of this actor shape horizontally. Check this pictuere:
![15eajbs.jpg 15eajbs.jpg](http://i42.tinypic.com/15eajbs.jpg)
At the first picture is my current situation, second one is what I want. You can also see special triangle for place where link is created from. All this I control in my own behaviour class.
How to keep my own behaviour class and to resize shape via rectangle handles? Do I need to override any function in shape class, bahaviour class?
Thx.
...MUDO...