I want to bitblt a bitmap to a static object on my window, which I got down and it looks fine, but the problem I have is how do I keep that image there even when the window is redrawn?
If I put the bitblt under the WM_PAINT switch my computer looses it mind, the CPU usage goes through the roof. The image will stay but there is an unexceptable CPU useage.
So my question is what is wrong with this? Is there some default message that I have to put in there for the rest of the window painting? Is WM_PAINT the only message I have to watch for to enure that my image is always there?Code:case WM_PAINT: BitBlt(m_bhDC,0,0,293,73,hDC,0,0,SRCCOPY);
Thanks




Reply With Quote