Preventing a window from coming to the foreground
Preventing a window from coming to the foreground
- Subject: Preventing a window from coming to the foreground
- From: John Scalo <email@hidden>
- Date: Mon, 06 Jan 2003 13:49:39 -0800
Does anyone know how one would prevent a window from coming to the
foreground after a mouse click? There is a windowDidBecomeMain delegate but
not a windowShouldBecomeMain delegate (and even if there were I'm not sure
that would help).
I have some windows with custom close/minimize/zoom buttons, and I want them
to behave correctly when one of the widgets are clicked while the window is
not foremost. As you know, in this case the widgets should do their thing
but the window should remain in the background. Maybe this could be
accomplished in the NSWindow or NSButton subclass?
Thanks
_______________________________________________
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.