You can use PatBlt to make a window look negative. But if the window redraws itself, it will turn back to normal. Is there something that will make it so that when the window draws itself, it will display negative?
Posted on 2002-09-16 21:38:56 by ChimpFace9000
Put the API call in WM_PAINT ? :)
Posted on 2002-09-17 01:07:07 by bazik
Im not doing it to one of my windows. Im actually doing it to a window the user picks. That could be possible if some how i could intercept the wm_paint message for the window. Then when i dont need it to be negative anymore, i could stop intercepting it. Any ideas on that?
Posted on 2002-09-17 14:08:22 by ChimpFace9000
You can do this with a Window hook (like for example Spy++ does).
Posted on 2002-09-17 14:30:34 by bazik