Called for items that marked as dynamic.
Override this method in a derived class to add items to hParentItem using InsertItem() method.