In the mousemove event compare the mouses location with the image's .Top, .Left, (.Top + .Height) and (.Left + .Width).
If it is too close, change the .Top or .Left by enough to re-establish your chosen boundary.
Of course you could always include a Click handler that just ignores the fact that the image was clicked...
|