Update the CContainerItem Rectangle When the Item’s Natural Extent Changes

When the fully opened server (for example, HIERSVR) notifies the container about a change (a new node) that affects the natural extent of the object, the CContainerItem rectangle needs to be updated.

To update the CContainerItem rectangle when the item’s natural extent changes

Notice that the CContainerItem object has to be invalidated whenever the server sends a notification that the object has changed. The constant values that nCode can assume are defined by the framework.