Window
I was wonder how do you make you window only have the minimise buttom and the exit buttom and not the maximise button using nehe basecode.
Also i was wondering how can you allow the user input directly to the screen like to put there name in a highscore screen etc.
newbie to opengl
quote:
Original post by Ructions
I was wonder how do you make you window only have the minimise buttom and the exit buttom and not the maximise button using nehe basecode.
This has got nothing to do with OpenGL

In WinAPI, window style flags are what you''re looking for. Check out WS_MAXIMIZEBOX.
quote:
Also i was wondering how can you allow the user input directly to the screen like to put there name in a highscore screen etc.
Two possibilities:
1) simulate an edit control (when the user types something, display it at a specific place on the screen). Maintain an internal buffer of what should be displayed and there you have it.
2) use a Windows built-in control type (edit control) - in this case "OpenGL acceleration" of the control is a bit tricky
"Finishing in second place, simply means you are the first loser." - PouyaCat
"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement