Re: Changing the Window level upon dragging.
Re: Changing the Window level upon dragging.
- Subject: Re: Changing the Window level upon dragging.
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 28 Jan 2004 23:56:43 -0800
On Jan 28, 2004, at 11:11 PM, Daryn wrote:
Subclass NSWindow and implement windowWillMove: and windowDidMove: to
flip the levels.
On Jan 28, 2004, at 7:27 PM, Nebagakid wrote:
I want to change the window level when my window "theWindow" is
dragging, from
[theWindow setLevel:kCGDesktopIconWindowLevel -3];
to
[theWindow setLevel:NSFloatingWindowLevel];
I'm not sure there's any need to subclass NSWindow? Use the delegate
methods of the same name:
- (void)windowWillMove:(NSNotification *)notification;
{
[[notification object] setLevel:NSFloatingWindowLevel];
}
mmalc
_______________________________________________
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.