Hiding maximize and minimize buttons

I have an openGL window. I want to hide the maximize and minimize buttons (the ones in the title bar).

Any help would be very much appreciated.


There are flags that you can set to do this.

Start a simple Windows Application (assuming VS) and using the properties, you can turn off the minimize and maximize buttons.

Save it, then look in your resource file (.rc) and copy the flags found there (for the window).