Hi Loïc,
thanks for your wonderful control. I love it!
I have a little issue for which I could not find a solution:
In gdViewer, I select a Rectangle by using the mouse. (oGDViewer.Mousemode = 1)
Scrolling this picture, the rectangle moves with the image. Thats fine!
But when I
1.) pick up the coordinates from this Rectangle with oGDViewer.GetRectValues(@lnTop,@lnLeft,@lnWidth,@lnHeight),
2.) make a copy of the image in gdpicture with oGDPicture.CreateClonedImage(THIS.nNativeImageHandle)
3.) (Re-) Set the rectangle on the new Image with oGDViewer.SetRectValues(lnTop,lnLeft,lnWidth,lnHeight)
the new created rectangle is not sticky with the image but with the viewer. Scrolling the image moves the image in the viewer but does not move the rectangle.
Do you have any ideas what to do to put image and rectangle together ??
Thanx for help!
Torsten Weggen
http://www.auktionsbuddy.de
