How to create window without top "banner"?

Upon execution of my OF app, I want to create a window without the top strip or banner. It contains at the far left an icon which displays a menu (“Restore”, …, “Close”) and at the far left, the shrink, expand and close symbols. I would be glad to rely on just the ESC key to halt execution.

I can’t remember the name of this component of a normal MS Window and numerous attempts at searching in the Microsoft Universe yielded only sore finger tips.

I’m hoping some modification to main() or ofRunApp’s argument will do the trick.

Tried this once with ofxScreenSetup. I’m on Mac OS, so may be different with Windows. But the example in the addon does the trick for me :slight_smile:

You need to use ofGLFWWindowSettings. Example, on your main.cpp set ofGLFWWindowSettings::decorated to false, like so:

#include "ofMain.h"
#include "ofApp.h"

int main()
	ofGLFWWindowSettings settings;
	settings.windowMode = OF_WINDOW;
	settings.setSize(300, 300);

	settings.decorated = false;

	ofRunApp(new ofApp());

Thanks very much Jildert and hubris!