Re: How to do the opposite of global floating window
Re: How to do the opposite of global floating window
- Subject: Re: How to do the opposite of global floating window
- From: Michael Latta <email@hidden>
- Date: Mon, 30 Dec 2002 09:07:09 -0800
You need to track down the default application behavior for this, most
likely in the window controller. Making it a subclass of NSPanel may
help. You will most likely have to subclass NSWindowController or
NSApplication to override the behavior. It might be in the window
server, in which case you are stuck. But the basic approach is going
to be subclassing promising objects in the system and overriding
behaviors to determine whether someone is bringing the window to the
front in response to some notification.
Michael
On Monday, December 30, 2002, at 08:48 AM, Joe Blowson wrote:
I can't figure this one out. I have a window defined in my nib that is
a subclass of NSWindow. When my app starts the window is created and
displayed. My goal is to have this window simply float over the
desktop and under all other windows at all times. The user never needs
to directly interact with this window. I have tried to set its level
and order but when I click my apps icon in the dock this window comes
to the foreground as the frontmost window. I want it to always,
no-matter-what, be "floating" just over the desktop. Also, if that is
possible, is it possible to change if it floats over the desktop and
desktop icons to having it float over the desktop but under the
desktop icons?
Doug Johnson
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.