Hello, Alex.
At First, thank you for your supporting about image collection's index.
I downloaded (registered version) new release, and I solved that issue.
I have a problem with Annotation's event, so I need your advices.
When I move mouse cursor into Annotation's bounding box, the cursor changed to "Cross" automatically .
(I just want to keep mouse cursor "Default" at anytime.)
I have overridden that annotation, and I want to catch that entering Annotation's bounding box event.
Any Ideas or advice would be appreciated.
Best regards,
Jun-hee.
Annotation's bounding box event
Moderator: Alex
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Annotation's bounding box event
Hello Jun-hee,
Do you want always show Default cursor when you work with annotations?
If yes, you should create custom annotations and override the SelectTransformation method:
Best regards, Alexander
Do you want always show Default cursor when you work with annotations?
If yes, you should create custom annotations and override the SelectTransformation method:
Code: Select all
public class MyRectangleAnnotation : RectangleAnnotation
{
...
protected override TransformationInfo SelectTransformation(PointF mousePosition, RotationAssistant rotationAssistant, bool fillParams)
{
TransformationInfo transformationInfo = base.SelectTransformation(mousePosition, rotationAssistant, fillParams);
transformationInfo.Cursor = Cursors.Default;
return transformationInfo;
}
...
}