Hi,
Do you see it work in our samples but not in your app? (You have to drag it by the edge when you see the move cursor… I’ll admit it isn’t easy. GoOverview works much better if you just use it for click-to-center-here.
Jake,
OK, to do this, you have to change the “ContainsPoint” in GoOverview, which takes two simple classes:
public class MyOverviewRect : GoOverviewRectangle {
public override bool ContainsPoint(PointF p) {
RectangleF a = this.Bounds;
return a.X <= p.X && p.X <= a.X + a.Width && a.Y <= p.Y && p.Y <= a.Y + a.Height;
}
}
public class MyOverview : GoOverview {
public override GoOverviewRectangle CreateOverviewRectangle(GoView observed) {
MyOverviewRect or = new MyOverviewRect();
return or;
}
}