Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.

Basecode trouble

This topic is 5502 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hiya, I grabbed the NeHe basecode (simpel version, one file) and have had trouble with it. I can''t change the size of the window when it is initialized. The size is entered into the CreateGLWindow function alright. But after the window is created and setup, it calls ''ShowWindow(hWnd,SW_SHOW);'' This activates the messagepump and produces a WM_SIZE. The size which is given then is NOT the correct size. It seems arbitrary, but it is the same each time I run the program. Any ideas?

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!