> I'm trying to create an application that displays in a rectangle in the
> center of
> the screen without any of the ordinary window border or decorations.
> is on WinNT/2000.) Its going to be a largely transparent window
> because there will be another program running behind it. I can't find
> call in GLUT to create windows without borders. (This is probably OS
> specific anyway?) Is there any mechanism in GLUT to do this,
> or do I need to start using (non-transportable) OS functions to
> directly create the window?
You can't do that with GLUT.
THe only borderless window you can create with GLUT is the fullscreen
popup window, but as you said, that's not what you want.
You can ofcourse hack the GLUT sourcecode to create a popup borderless
window instead of the normal window it creates now.
If you want an OpenGL canvas ON a dialog somewhere, for example
in the middle of a dialog, create a control, f.e. a label, of the
size of the opengl piece on the window, then grab the hWnd handle
of that control, and use that to create a rendercontext.
The DemoGL sourcecode contains that to produce an opengl canvas
on the about dialog.