Deleting an owned item
Hi,
I'm aware of the high-level Cmds and Suite for that stuff. But since I'm using them a bit different, I created a kHyperlinkTextDestinationMarkerBoss through CreateObject2() and put it into an item strand via itemStrand->SetOwnedUID(index, kHyperlinkTextDestinationMarkerBoss, uid) and also connected it to a kHyperlinkTextDestinationBoss.
Ok so far, but now I'm at a loss when it comes to deleting it.
I've to call db->DeleteUID(uid), but must remove any references to and from it before. I didn't find a itemStrand->DeleteOwnedUID() or such to remove it from the strand (not anchored in the text via special char) and also no method to disconnect it from the DestinationBoss.
Could please someone be so kind to put me on the right lane?
Regards,
Johannes
|