How can I select a rectangle in code?
The following code can select a rectange, but the range is bigger than
expected rectange.
The select range includes the current position.
But the anchor pos and current pos are right.
pCtrl->SetSel(AnchorPos, CurPos);
pCtrl->SetSelectionMode(SC_SEL_RECTANGLE);
pCtrl->CallMessage(SCI_CANCEL);
Any idea to solve this?
Thanks in advance~~~
Jeffrey Ren
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest