I have been drawing lines with the MoveToEx & LineTo commands.
To undraw them I just draw the line twice but set the SetROP2 function to R2_XORPEN in between the two draws to invert ther pixels.
I am now trying to do the same with text where I am use the TextOut function.
Is there a function similar to SetROP2 (which just seems to be for pens) for text?
Or is there another way to undraw the text by inverting the pixels.
I don't want to just draw the text again in black (the background colour).
By the way, I have spent a long time searching the help and I am hoping to get 'the' book.