Our custom annotation explorer control does not display sticky notes

Question:

We are building a custom annotation control, to display information about each annotation in the document. Everything is working fine, expect Sticky Note annotations don’t show up correctly. Instead they show contents from other annotations, and the rectangle location is always just outside this other annotation.

Answer:

You are mixing up e_Text (also known as Sticky Note) annotations, and e_Popup annotations.

Any annotation can have a popup, such as highlights, rectangles, and sticky note, though some are not mean to have one, like a freetext annotation (which when you double click you simply start editing the text).

The rectangle for a Popup annotation is the location of the popup user interface dialog that you see when you double click the parent (visible on screen) annotation.

Popup annotations contain comments about that visible annotation.