Re: NSBorderless and acceptsFirstMouse
Re: NSBorderless and acceptsFirstMouse
- Subject: Re: NSBorderless and acceptsFirstMouse
- From: Stephan Burlot <email@hidden>
- Date: Mon, 2 Aug 2004 21:05:44 +0200
Or you can implement dragging yourself, if the target < 10.2
See <
http://www.coriolis.ch/IMG/corioliswindow.tgz>
Stephan
.....................................................
Stephan Burlot,
Coriolis Technologies
Custom Application Development
http://www.coriolis.ch/
.....................................................
Le 2 ao{t 04, ` 20:12, Glenn Andreas a icrit :
At 1:39 PM -0400 8/2/04, Dominic Feira wrote:
Hello.
I have an NSBorderless window that I am using to create an irregular
shaped window.
All is well, except I can't figure out how to get the window to
respond to the first click in the window.
I would like to be able to drag this window just like any other
window. Right now I must click in it to make it active and then drag
it. What a pain.
Have you tried setMovableByWindowBackground: ?
You might also want to look into making it an NSPanel instead of just
an NSWindow if you are looking for "always active" behavior.
--
Glenn Andreas email@hidden mondo blobbo,
Cythera, Theldrow, oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
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.
_______________________________________________
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.