I\'m kinda new to this area, so.. I made the following code, as far as i understand, in WM_PAINT i\'m creating a line, however i can\'t see this line, because the window isn\'t displaying at all.
I created a custom control whose class has CStatic as base class. Currently I handle the drawing using WM_PAINT event. But there is a strange behavior. When I re-enable the window after disabling it u
Here is some code that I copied from the Microsoft Developer Network http://msdn.microsoft.com/en-us/library/dd162487(v=VS.85).aspx
I have a question about strangely originating WM_PAINT messages sent to my window. 开发者_JAVA百科It happens on Windows 7 and doesn’t happen on Windows XP.
Is there a function that will freeze window repainting for some ti开发者_如何学JAVAme, while I do changes to the layout of my dialog?If you find that you actually need to do this, you should send the
I\'m trying to draw an animation on a window with a transparent background using Windows API. The problem is that I can\'t delete the previous drawing from the window.
I have a problem with WM_PAINT. Basically I want WM_PAINT to be called after a user WM_COMMAND, but for some reason it\'s开发者_高级运维 called anyway in the main function.
Right now I\'m drawing a small 16x16 image on the title bar of my window. It works nicely, except for an obnoxious flicker that I cant figure out how to get rid of.
First a disclaimer, I\'m a Java programmer and have almost no idea about the Windows API. So please bear with me.
I\'m trying to intercept/hook the WM_PAINT message of the desktop in C++. I\'m currently drawing with the desktop handle, my only problem is that I\'m not in sync so it might flicker.