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


Basecode trouble

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