Overwriting some (WM_PAINT) of DefWindowProc()

Mar 23, 2009 at 7:36pm
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
Mar 24, 2009 at 5:12am
can you post your code for wm_paint??
Mar 24, 2009 at 6:33am
i havent written anything...kinda on halt...


{
if(active){{

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