• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Changing the Window level upon dragging.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Changing the Window level upon dragging. (From: Nebagakid <email@hidden>)
 >Re: Changing the Window level upon dragging. (From: Daryn <email@hidden>)

  • Prev by Date: Re: Compatability issues with IE v5.2.3 as compared to v5, v5.2.1,v5.2.2 [Panther Issues]{UNSOLVED- FrameWork Problem}
  • Next by Date: Re: Compatability issues with IE v5.2.3 as compared to v5, v5.2.1,v5.2.2 [Panther Issues]{UNSOLVED- FrameWork Problem}
  • Previous by thread: Re: Changing the Window level upon dragging.
  • Next by thread: "check spelling as you type" persistence
  • Index(es):
    • Date
    • Thread