View Full Version : Getting an HWND for a glut window
How do I get the HWND for my glut window?
Thanks in advance.
05-08-2000, 07:10 PM
GLUT is designed to be portable accross many platforms, so don't expect specific Windows functions. You should be using wgl functions instead to integrate OpenGL with a windows application. Then you will have all the power you need.
05-09-2000, 02:00 AM
There's nothing stopping you calling a win32 function from a GLUT app, but you will ofcourse loose the portability stuff...
Will return the handle if your GLUT window is active..
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.