trichview.com

trichview.support




Re: Is image selected?


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/15/2003 18:08:56


Since implementing image resizing, single click on image works like double

click (i.e. selects it from left to right, making StartOffs=0 and

EndOffs=1).

How is this selection shown? Resizing markers must be visible.

Red rectange (more example, rectangle of color RVStyle.HoverColor) does not

show the selection. It shows that this picture is active (current). Image

can be active and selected, active and not selected, selected and not

active.


> > (in all cases StartNo=EndNo=0)

> that's the case here as well

>

> But I'm selecting the image by just clicking on it.

> If it was not selected before then

>    StartOffs=1  EndOffs=1 if the caret was behind the image and

>    StartOffs=0  EndOffs=0 if the caret was before the image

>

> If I click it again when it's already selected then

>      StartOffs=0  EndOffs=0

>

> All result in GetSelectedImage = nil, but the image is clearly visible

> selected.

>

> Yoerdes






Powered by ABC Amber Outlook Express Converter