Dragging my NSWindow subclass like an ordinary OS X window...
Dragging my NSWindow subclass like an ordinary OS X window...
- Subject: Dragging my NSWindow subclass like an ordinary OS X window...
- From: Giovanni Donelli <email@hidden>
- Date: Sun, 25 May 2003 14:02:26 +0200
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?
Thank you!
Giovanni
_______________________________________________
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.