I have a plugin that adds some special attributes to characters.
I have a tool tip plugin that displays these special attributes.
My tool tip is wiping out / overriding the the default tool tip for things like note content. Is there a way to write a tool tip that will allow the default tool tip to work first. If the tool tip is empty we can go on to fill the tool with our stuff.
A few rough steps:
- See whether there is a service registry for layout related tips. Failed.
- What is specific about those note tips, is there any IID_ITIP implemented by a notes related plugin? I've used grep on a self generated dump of IObjectModel, but NoteID.h should be sufficient. That would be kNoteLayoutTipImpl, there is also one for galley mode.
Copy paste "kNoteLayoutTipImpl" into OSX search, the next second has me reading sdkdocs/html/classkNoteDataBoss.
Other interfaces on kNoteDataBoss indicate something about "owned item". For a second proof that this is really a path to go I'd set a breakpoint within kNoteLayoutTipImpl, and see how it is reached. (I did not do that, just assuming OwnedItem approach)
Revisit IOwnedItem related interfaces. IOwnedItem, then IOwnedItemIBeamData. You're seeing these tips only in text mode, are you? Then that's deeply customized behaviour, probably a tracker created by IOwnedItemIBeamData. classITracker.html lists several bosses with "Note" within them.
So the question is, would you reimplement your feature as owned item?
Europe, Middle East and Africa