Try
Invalidating[
^] it. Set the 2nd parameter,
lpRect
, to
NULL
. This will make the whole control repaint. Assuming your code for setting the line colour is correct, this will work.
Probably no need to erase, but see what works with that last parameter