24 posts / 2 projects
Ex-php dev. Working on a 2d graphics editor
Nonclient opengl drawing - windows 7 aero
2 years, 8 months ago
Has anyone here had to deal with drawing opengl thing over entire aero window?
No matter why I try to do there's still top-left offset before the actual opengl content starts.
It draws fine over bottom and right borders though. Just not the left and top.
If I draw a GDI rectangle at (0,0,100,100), just one line before initting opengl context this is what I get:
So client rect is fine, it is extended to the nonclient area. But opengl still thinks there are borders.
No idea what to do. Well, I'll keep reading docs of course, but it's just frustrating.
And I think I still want borders - to have the aero features. At least that's how other guys seem to do custom window frames, incl. Visual Studio (but they are probably cheating)