Hi,
Thanks for your reply.
I thought I'd made a mistake in my vb translation, looking at your code, in
the FillPixel function.
But the problem still occurs.
I've absolutely no idea why the problem occurs.
Very odd.
But it seems to happen if the same area is filled twice.
This code works around the problem. I THINK, SO FAR.
Dim test As New Bitmap(FullImage)
Dim TempPixelColour As Color = test.GetPixel(CurXPos, CurYPos)
If TempPixelColour.R = m_CurrentColour.R And TempPixelColour.G =
m_CurrentColour.G And TempPixelColour.B = m_CurrentColour.B Then
Exit Sub
End If
--
JZ