Hi Max,

On 04/17/08 18:54, Maximilian Odendahl wrote:

Additionally, I would like to know if my mouse pointer is over such a field. Is there a function I could call from SwEditWin::MouseMove?

As GetContentAtPos() works exactly with a mouse position and not with some position inside the document, I could use this I think.

Any performance issues calling GetContentAtPos() all the time in ::MouseMove?

GetContentAtPos() is already called from MouseMove() (e.g., in order to check if there's a hyperlink or smart tag at the current mouse position). You could check if you can use any of these GetContentAtPos() calls by adding a SwContentAtPos::SW_POSTIT flag to SwContentAtPos.

Hope this helps,

Frank

--
Frank Meies (fme) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • [sw-discussi... Maximilian Odendahl
    • Re: [sw... Maximilian Odendahl
      • Re:... Frank Meies
    • Re: [sw... Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems
      • Re:... Maximilian Odendahl
        • ... Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems
          • ... Maximilian Odendahl
            • ... Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems
              • ... Maximilian Odendahl

Reply via email to