Re: isMovableByWindowBackground is not always movable (was:How do I implement a splash screen) [SOLVED]
Re: isMovableByWindowBackground is not always movable (was:How do I implement a splash screen) [SOLVED]
- Subject: Re: isMovableByWindowBackground is not always movable (was:How do I implement a splash screen) [SOLVED]
- From: desktoast music productions <email@hidden>
- Date: Tue, 25 Apr 2006 23:42:41 +0200
Oh man. Sometimes you just look in the wrong place.
After tinkering with my movable, borderless, semi-transparent window thing
for days, I just found the solution to my problem. It is- as so often with
cocoa - a simple method.
All it took was a thought - if I can't make the window movable by
background, because in this window there is no (visible) background,
shouldn't take a deeper look at the only other item in this window: the
all-covering NSImageView?
To make a long story short: up its hierarchy I just found
- (BOOL)mouseDownCanMoveWindow
Had a subclass of NSImageView return YES. That's it. Movable borderless
transparency, that doesn't block anything it shouldn't.
Thank you all for the loads of support, especially Matt and Uli.
Peter
--
peter schwaiger
desktoast music productions
http://www.autlawmusic.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden