nswindow
Cocoa: get window in windowDidLoad in controller
My NSWindowController has this code: - (id)init { [self initWithWindowNibName:@\"M开发者_开发知识库yWindow\"];[详细]
2023-03-31 22:45 分类:问答Override NSWindow close button
I\'m working on a application for OS X where I use a custom window that draws an image as the background, including the title bar. I\'ve been modifying this code to draw the window, and then calling [[详细]
2023-03-31 09:54 分类:问答Multiwindows problem, cocoa
I have a simple application, not document-based. I want to have a login window that allows people to login or add a user, and when they logged in successfully I want it to load the main page. If from[详细]
2023-03-30 04:48 分类:问答NSWindow's -toggleFullScreen: method loses keyboard focus?
I am writing an applicat开发者_JAVA技巧ion which when launched, shows an options screen, then proceeds to enter fullscreen mode. However, once in fullscreen, keyboard focus is lost and the user has to[详细]
2023-03-28 00:30 分类:问答Display buttons on hover in NSWindow
How can I get the buttons (close, minimize, maximize) to hide when the cursor isn\'t over the window and show themselves when the cur开发者_如何学Gosor is.[详细]
2023-03-27 16:17 分类:问答Cocoa - Override Lion Window Size Persistency
I have a Cocoa App that depends on the main window being a certain size when it opens. While running, however, I drop down a WebView and effectively change the frame size of the window. Next time I op[详细]
2023-03-27 07:05 分类:问答How do I increase the height of the title bar in a Cocoa application? [duplicate]
This question already has answers here: How to change the height of an NSWindow titlebar? (4 answers) Closed 2 years ago.[详细]
2023-03-26 23:20 分类:问答Showing NSWindow
Clicking menu item shows a NSWindow, but only f开发者_JS百科or first time, why is so that, and how to fix it?[详细]
2023-03-26 00:56 分类:问答NSWindow resize limit
I\'m trying to create a resize limit for my NSWindow. I don\'t want the window to scale smaller than 732x or 496y pixels. What would be the best way to go about doing th开发者_如何学Gois?In Xcode clic[详细]
2023-03-24 16:09 分类:问答Setting subview's width equal to window width on launch
I\'m struggling getting a subview (which is acting as a custom toolbar [I need a NSView rather than an NSToolbar]) centred within an INAppStoreWindow..[详细]
2023-03-24 16:05 分类:问答