View Full Version : window always on top and without titlebar

05-15-2003, 01:38 AM
Two questions:
1- Is it possible to make the opengl window always on top(meaning, always on the screen even activating other windows)? It is a vital factor for my project.
2- How to create an opengl window without title bar?

05-15-2003, 02:36 AM
This has nothing to do with opengl.. opengl leaves the window handeling to the OS..

What OS do you develop for? windows? then you have information about that in msdn ( www.msdn.com) (http://www.msdn.com)) its basically a bordeless window that are maximized.. and how do you create it without a titlebar? well that depends on how you create it, VLC, MFC pure win32 calls? ( assuming youre on windows now http://www.opengl.org/discussion_boards/ubb/smile.gif )

05-15-2003, 02:48 AM
How about creating the window using glut as following:

glutInitWindowSize(640, 480);

/* the window starts at the upper left corner of the screen */
glutInitWindowPosition(0, 0);

/* Open a window */
window = glutCreateWindow("OPENGL");

The answer may be smthg like sizing the window as below.
I do not know anything else to create an opengl panel (or object?) onto a window created with mfc, win32,..etc. I am a beginner.

It is better for me to use glut functions.

My question is living..