Skip to main content
minimum99
Known Participant
June 11, 2011
Question

Displaying anchor handles while dragging the anchor

  • June 11, 2011
  • 2 replies
  • 938 views

I am working on anchor select and dragging tool, everything work great, but when anchor points are  dragged, the display of the

anchor handles all disappeared. Using sAIDocument->RedrawDocument does not work.

Anyone experience this?

Thanks

This topic has been closed for replies.

2 replies

Inspiring
June 15, 2011

You have to draw them yourself when you get an annotatator message, using either sADMDrawer->DrawLine + sADMDrawer->FillOval, or (for CS4 and above) sAIAnnotatorDrawer->DrawLine + sAIAnnotatorDrawer->DrawEllipse.

DF

minimum99
minimum99Author
Known Participant
June 15, 2011

Thank you very much, that makes sense, I will try that.

minimum99
minimum99Author
Known Participant
June 11, 2011

I found the solution. Just need to invalidate the annotator rect.

minimum99
minimum99Author
Known Participant
June 14, 2011

Actually I still have problem with this!

Invalidate annotator does not work when you drag the anchor, that is the anchor handle disappeared until you finish dragging.

Invalidate annotator only works when you first click on the art.

Anyone has a solution?

Much appreciated,

Don