Re: Dragging my NSWindow subclass like an ordinary OS X window...
Re: Dragging my NSWindow subclass like an ordinary OS X window...
- Subject: Re: Dragging my NSWindow subclass like an ordinary OS X window...
- From: Chris Ridd <email@hidden>
- Date: Sun, 25 May 2003 14:57:41 +0100
On 25/5/03 1:02 pm, Giovanni Donelli <email@hidden> wrote:
>
Hello Gurus!
>
I have sub-classed the NSWindow and I have now a window with my own
>
shape and that you can drag clicking on any part of the window as it
>
happens with a brush metal window...
>
>
Unfortunately in order to move the window you have to click twice, one
>
click for put the window in foreground and an other click for drag it.
>
>
Now the problem is that I would like my window to move at the first
>
click-and-drag like it happen with a ordinary window of Mac OS X
>
clicking on the window bar.
>
>
Is there a way to enable the the mouseDragged event on background
>
window? or any suggesting to solve the problem?
Does calling NSWindow's -setMovableByWindowBackground: method help?
Cheers,
Chris
_______________________________________________
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.