Hello,

I would like to add replies to PDTextAnnotations. I tried as follows:

//Get annotation dictionary of this comment
CosObj dictThis = PDAnnotGetCosObj(head->annot);

//Get annotation dictionary of parent
CosObj dictParent = PDAnnotGetCosObj(parent->annot);

CosDictPut (dictThis, ASAtomFromString ("IRT"), dictParent);

CosObj reply = CosNewName(cd, false, ASAtomFromString("R"));
CosDictPut (dictThis, ASAtomFromString ("RT"), reply);

Now the problem is, I see the reply comment in the comments list
window but I can't see the reply comment inside popup of the parent
comment. The normal behaviour should be similar to the one when you
add a reply from Adobe itself, it should appear below the original
comments text.

Any help would be appreciated.

Thanks,

Cagri