Advertisement

NeHe Basecode + Menu bar

Started by April 24, 2003 09:25 AM
0 comments, last by The Wolf 21 years, 10 months ago
I''m having a tough time introducing a regular WinAPI menu-bar to the NeHe basecode, even when setting the menu name to the menu resource i still get nothing. If anyone was successfull in doing this do you mind sharing with me your window creation code? MANY THANKS
I've been working on an openGL app that doesn't work in fullscreen and just took out all the fullscreen stuff from NeHe's basecode... and the menu stuff was quite easy to implement... Im just wondering if the fullscreen code is getting in the way...Sorry I didn't bring my code! YOu could still have your window maximimized
ShowWindow(hWnd, SW_MAXIMIZED)<- syntax?

If I remember correctly you don't need any code for the menu...just code to handle the messages...WM_COMMAND

P.S.....I also remembered when you define your window class you have to include the name of the menu resource!!! Maybe thats your problem...
Check out: [a href="http://www.lanceusa.com"]

[edited by - dnagcat on April 24, 2003 2:46:41 PM]

This topic is closed to new replies.

Advertisement