Questions tagged [nsborderlesswindowmask]
4 questions
2
votes
1 answer
Making NSBordlessWindow key and active when main application window is not active
I have a custom NSBorderlessWindowMask window in my application that I show when user taps a certain hot key.
This window has a `NSTextField, that has to become first responder when the window shows up.
This window is not a main window, but it can…

Nava Carmon
- 4,523
- 3
- 40
- 74
1
vote
0 answers
Full Screen Cocoa Application - Force Quit
I am facing a weird issue when trying to make a full screen application. I am currently using a a NSWindow with a NSBorderlessWindowMask to make the screen show at top, and I subclassed NSWindow to accept keys:
- (BOOL) canBecomeKeyWindow
{
…

Vineet Kosaraju
- 5,572
- 2
- 19
- 21
0
votes
0 answers
NSInternalInconsistencyException when initializing NSWindow with NSBorderlessWindowMask
I created a project in XCode from the "Command Line Tool" template.
This runs as you might expect, creating a blue 200px window in the bottom left of the screen.
#import
int main(int argc, const char * argv[]) {
NSRect frame =…

antimatter15
- 1,436
- 1
- 12
- 18
0
votes
1 answer
How to make a custom window resizable from all sides
How can I make an NSWindow subclass resizable from all sides, even if using NSBorderlessWindowMask ?

uchuugaka
- 12,679
- 6
- 37
- 55