I am trying to intercept / intercept the WM_PAINT message of a desktop in C ++. I am currently drawing a desktop descriptor, my only problem is that I am not in sync so that it can flicker.
Basically, I would like to write an instruction where I can check the WM_PAINT UINT message. When so, I want to do something else.
I'm going to ask him in a lazy way, does anyone have this in a small piece of code? Getting the handle to the desktop is done using GetDesktopWindow (); from this I also want to check WM_PAINT.
source
share