Overwriting some (WM_PAINT) of DefWindowProc()

Hello


I want to create a graphic interface using opengl. When I try to handle WM_PAINT in my proc, it brings the processor to 100%. If I comment the WM_PAINT (even if it only contains a break statement) it dropps to 0.

I've googled, searched msdn, but didnt find anything so far. I will continue looking, but if any of you knows how to do this, anything at all, I would apprechiate it alot.


Thanks,

Gregor
can you post your code for wm_paint??
i havent written anything...kinda on halt...


{
if(active){{

}
break;
} this is it
Topic archived. No new replies allowed.