I've got a win32-application and I want to add a menu to my scene.(I work with
OpenGL). I add my cpp-file and my rc-file to my project.
In my cpp-file you can find :
in my function CreateGLWindow() I wrote :
wc.lpszMenuName = "MyMenu";
...
HMENU = hMenu;
hMenu = LoadMenu(hInstance,"MyMenu"
hWnd = CreateWindowEx(...,hMenu,hInstance,NULL);
When I execute my program I only see my scene but there is no menu.
What did I do wrong?
OpenGL). I add my cpp-file and my rc-file to my project.
In my cpp-file you can find :
in my function CreateGLWindow() I wrote :
wc.lpszMenuName = "MyMenu";
...
HMENU = hMenu;
hMenu = LoadMenu(hInstance,"MyMenu"
hWnd = CreateWindowEx(...,hMenu,hInstance,NULL);
When I execute my program I only see my scene but there is no menu.
What did I do wrong?