CODComponent::InsertChild
Inserts a child component at the given index.
Defined in: OdComponent.cpp
Syntax
BOOL CODComponent::InsertChild(CODComponent* pChild, const int nIndex);BOOL CODComponent::InsertChild(CODComponent* pChild, const int nIndex, CPoint ptInsertAt);
Return Value
Returns zero if component exists in list of children; otherwise non-zero.
Parameters
pChild
Component to be inserted.
nIndex
Index at which component is to be inserted.
ptInsertAt
Location at which component should be inserted in parent.