Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 14, 2013, 09:48 AM   #1
zgmg
macrumors newbie
 
Join Date: Mar 2013
NSBorderlessWindowMask from Scratch

How would I create an app with no title bar?

Could someone/s help me create, from scratch, a Mac App that has no title bar? Thank you.
zgmg is offline   0 Reply With Quote
Old Apr 14, 2013, 05:08 PM   #2
xStep
macrumors 68000
 
Join Date: Jan 2003
Location: Lost in Minneapolis
Haven't done that before, but look at the NSWindow documentation for the initWithContentRect methods and the style masks for them.
__________________
My App: CameraTime - Time lapse photography for novice and advanced users.
xStep is offline   0 Reply With Quote
Old Apr 15, 2013, 11:07 AM   #3
bumper314
macrumors member
 
Join Date: Jun 2009
You can set the Presentation mode in the info.plist, or you can make an NSView (not NSWindow) take over the screen.
bumper314 is offline   0 Reply With Quote
Old Apr 15, 2013, 11:15 AM   #4
Peter Maurer
macrumors member
 
Join Date: Oct 2008
I'd suggest starting with Apple's borderless window sample project, RoundTransparentWindow. It's easy to understand if you know the basics, and it has a lot of helpful comments.
Peter Maurer is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:13 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC