kangjch wrote:
Hi,
Dear All,
Now I am investigating a function, I want to know whether the coordination
of current mouse is in a selection text area, I find there is a class
TextView::IsSelectionAtPoint( const Point& rPosPixel )

Can I call it from SwEditWin? I think if available it's very convenient for
my work.
No, you can't. This is a method of the TextView from svtools. This is not used in Writer. What you can use is SwFEShell::IsInsideSelectedObj(const Point&). This returns true for text selections as well as selections of graphics, drawings and others.

Regards,
Oliver

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

Reply via email to