• 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: isMovableByWindowBackground is not always movable (was:How do I implement a splash screen) [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: bad mouse with NSComboBox on sheet
  • Next by Date: Re: FYI: Cocoa's framework scaling works great!
  • Previous by thread: [Solution?] Re: bad mouse with NSComboBox on sheet
  • Next by thread: Scripting with JavaScript in Cocoa tutorial
  • Index(es):
    • Date
    • Thread