WinAPI menu and OpenGL

Hi everyone,
I’m trying to get window ready for OpenGL rendering AND a system menu, and i’m having quite a tough time doing it. I’ve set the appropriate MenuName variable in the WNDCLASSEX to the menu name, and it still doesnt work.
Can anyone help with some window creation code that gives me both a window menu and openGL?

Hi !

Well, as the menu does not has anything to do with OpenGL it will work the same way if you display OpenGL contents or not, examples and all documentation is available at: