nswindow
Fixed object to the right of an NSWindow
I have created an NSView on an NSWindow. I\'m t开发者_StackOverflow中文版rying to \"dock\" the view to the right side of the window, so that when I scale the window the view will always stay on the ri[详细]
2023-03-23 20:21 分类:问答How to know if a NSWindow is fullscreen in Mac OS X Lion?
I guess I should check if [NSApplication presentationOptions] contains NSFullScreenModeApplicationPresentationOptions, but how do I achieve that?[详细]
2023-03-23 05:13 分类:问答Handling events in NSWindow
I\'m trying to handle key events of full-screen NSWindow. I\'ve subclassed NSWindow and realized methods keyDown and canBecomeKeyWindow (which is returning YES). But my key events are not handling. He[详细]
2023-03-22 22:32 分类:问答How to keep NSPanel within NSScreen visibleframe always
I have one floating NSPanel in my a开发者_Go百科pp, which user can move using mouse. I want my NSPanel to always visible within main screen. I want code to reposition my NSPanel with its original widt[详细]
2023-03-22 18:26 分类:问答Dismiss Custom Window for NSStatusItem
I\'ve got a custom window popping up when an NSStatusItem is clicked. The code is based on MAAtachedwindow. Everything is working great but I can\'t figure out a way to dismiss the window when the use[详细]
2023-03-22 17:12 分类:问答Mac OS X, make a window go over menu bar
Is it possible to make a window to go over the menu bar, withou开发者_运维百科t going in fullscreen?[详细]
2023-03-22 08:15 分类:问答Window-less Cocoa application
I\'m a complete beginner in Objective-C and Cocoa. I would like to create a window-less application, which just shows a NSStatusItem in the system tray. The tray works fine, however, there is one pro[详细]
2023-03-22 06:53 分类:问答Lion iCal like NSWindow
I am trying to create an NSWindow like the one in Lion iCal (http://www.lutrindigital.cc/wp-content/uploads/2011/04/lion_ical_preview-400x275.png) I mean with a custom titlebar.[详细]
2023-03-22 00:04 分类:问答How to get rid of the 1 pixel white line at the left edge of the window?
I am doing c开发者_如何学Goocoa desktop application and I noticed that there is 1 pixel white line at the left edge which looks pretty ugly for my background.[详细]
2023-03-20 18:28 分类:问答Reading NSWindow resize event
I was wondering if anyone knows, how do I read when NSWindow is being resized? Let\'s imagine I have a button in an empty window (other than the button), then user resizes the window from the bottom r[详细]
2023-03-19 15:48 分类:问答