MyIconicNode is derived from GoIconicNode class and overriden DoResize method.
class MyIconicNode : GoIconicNode
{
public MyIconicNode()
{
base.Resizable = true;
base.Reshapable = true;
}
...
public override void DoResize(...)
{
...
}
}
One MyIconicNode object is created and added to the document. After resizing the object, its size is changed. But the DoResize method is not invoked. I tried this in IconicApp sample also, it does not work there either.
Did I miss something? What should I do to retrieve the original and new sizes?
I am using Win 4.0 GoDiagram.