Just wondering … is it possible to get the HWND of a GLUT window? … to say define your own fonts with wglUseFontBitmaps().
I know I can (and have) used Win32 rather than GLUT. But, is it possible to use GLUT to create window … and just retrieve handle to extend font specifiations? Seems like it should be possible.
This seems to work. Although it might be unorthodox. I placed the following code snippet in the glutIdleFunc(). This gives the OpenGL window time to be completely realized. If you call it before then, you get the shell window … rather than the OpenGL window. I printed the OpenGL window’s text and rectangle to be sure.