I'm creating an application and I don't want a title bar:
If the title remains the same all the time, does it make sense to show it? For example, if an app doesn’t show the names of documents, or any other assets that it opens, and there is plenty of space at the top around other controls to grab onto if you want to move the window around, does the title serve much purpose?
The problem is: how do I do this? I tried using [mainWindow setStyleMask:NSBorderlessWindowMask];
but I can't make it have round corners. I really don't know how to make round corners. Next to that, I can't make it have a resize control. If I use [mainWindow setStyleMask:NSBorderlessWindowMask | NSResizableWindowMask];
it's not borderless anymore. Can anyone help me? Thanks.