trichview.com

trichview.support




mouse down event


Return to index


Author

Message

CCY

Posted: 09/10/2004 10:59:34


if have handle the mouse down event to prompt out a popup menu when right

click is detected. it cause the problem when I right click on the rve, the

caret doesn't change its position to where i click. I was trying to call the

SetSelectioBound to reposition the caret before popuping the popupmenu. This

again leads to another problem where if a particular word has been selected,

right click on it will deselect the current selection because of calling

SetSelectionBound. Then I try to call GetSelText every right click to check

there is any text selected. But it is not fully workable because once soem

text have been selected, no matter where I click GetSelText will always

return the selected word to me. Is there any way to solve this problem

easily? or is there any function like GetSelTextAt(X, Y)...





Powered by ABC Amber Outlook Express Converter