Skip navigation
Currently Being Moderated

Tooltips on characters

Aug 24, 2012 12:25 PM

Hello,

 

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.

 

Best.

 

P.

 
Replies
  • Currently Being Moderated
    Aug 24, 2012 11:33 PM   in reply to Pickory

    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?

     

    Dirk

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points