nswindow
Working with the frontmost window's controls in a document-based app?
I\'ve scanned the documentation and googled fairly extensively and found nothing on this subject. What I\'m needing to do is interact with a specific instance of one of my NSWindows - that is, one cr[详细]
2023-02-10 23:51 分类:问答Cocoa: programmatically show/hide custom NSWindow with custom NSView
First of all I have to inform you that I am new to Objective-C and Cocoa. I have read some books about that and I am able to build quite simple programmes now.[详细]
2023-02-10 20:54 分类:问答Custom NSView with NSTextField subview drawing issue
So I am drawing a custom window (transparent) with a custom NSView as the contentview, and wouldlike to add an NSTextField to the window as well, however, when I add the NSTextField, I get a weird res[详细]
2023-02-10 18:20 分类:问答Why NSWindow without styleMask:NSTitledWindowMask can not be keyWindow?
Problem: I have one window mainWindow and another childWindow added to mainWindow. childWindow is kind of WindowExt class. This class I define for catch method call [NSWindow becomeKeyWindow] that mus[详细]
2023-02-09 18:36 分类:问答Changing alpha of window background, not the whole window
so i have a quick question i have the method below which sets the alpha value of a window depending on the value from a slider, however the cont开发者_开发百科ent of the window also becomes translucen[详细]
2023-02-08 23:01 分类:问答Cocoa - NSWindow animation when displayed?
How would I add 开发者_StackOverflowsome sort of CoreAnimation effect when showing a simple nswindow?[详细]
2023-02-08 21:57 分类:问答Make NSView in NSPanel first responder without key window status
Is it possible to give an NSView inside an NSPanel first responder status without giving the NSPanel key window status (开发者_如何学Gomaking the main application window resign key)?[详细]
2023-02-08 17:31 分类:问答Objective-C NSWindow remove window from key
Hi need a little help, i have a window which is set to always show in the top right corner but it is not set to always 开发者_运维百科key. The window has a few buttons on it and when a button is click[详细]
2023-02-08 10:44 分类:问答window floating above desktop but behind everything else
I have my app all setup to do what i want it to do. But there is one thing i开发者_如何学JAVA can\'t figure out how to do.[详细]
2023-02-06 01:42 分类:问答how to place some label on some window?
I need to mark some opened win开发者_如何转开发dow from my application. I can get the windows list, their system id, name, owner... Can I draw some NSImage only on choosen window?If you have a window,[详细]
2023-02-05 23:22 分类:问答