I have searched several places including message boards and Google, without any result! Have I missed something or am I the first to ask regarding this:
How can I create, or get an already available, invert pen? Which when used for drawing (ex. lines) it inverts all pixel colors it comes in “touch” with. I am not looking for the DrawFocusRect function, but a pen or function that draws an invert line.
I think you want the SetROP2 function. Probaby with R2_NOT.
EDIT: I found this out in less than a minute by typing 'pen invert gdi' into google.
hmm... I searched on the phrase "invert pen" and "c++", but ended up with nothing... so I searched on "invert drawing" and etc. Hehe... obviously a bad chosen phrase :D