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.

 

Another Question: 

When I dragged the selection(text) into other locations, how can I updated
the current cursor to keep original status.

That’s to say, after dragging the selection, 

rView.pWrtShell->pCurCrsr.aMkPt / aPtPt   gets the corrected value according
to the terminal dragged locations.

 

 

BRs

Kang Jingchuan.

Reply via email to