Restricting window size in Win32 OGL App
I am using NeHe's Win32 framework for a setup/launcher app to be used for setup and launching of another OpenGL based application (just like Descent3's launcher). I start the launcher, blit an image to the background, and draw selectable objects on top of the image that have various behaviors when clicked. All is well with just one problem ...
The user can resize the window. I need to be able to restrict the window to the background image size of 640x480. Anyone know how to force a Win32 window to be a fixed size? I'm sure this won't take more than a few lines of code but, having little Win32 app dev experience I don't know where to look for help. I have searched the MSDN docs and found nothing suitable. Any help would be appreciated including keywords to search for and techniques.