• 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
NSBorderlessWindowMask - shadows not working correctly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBorderlessWindowMask - shadows not working correctly


  • Subject: NSBorderlessWindowMask - shadows not working correctly
  • From: Jerry Brace <email@hidden>
  • Date: Mon, 02 Oct 2006 10:28:12 -0200

I have a subclass of NSWindow programmed for my main application window which is using NSBorderlessWindowMask. Everything is working great except for the correct shadow behaviour. By that I mean - a shadow appears (setHasShadow:YES) but it doesn't change when the app is active/inactive (it doesn't get bigger and darker when the app is in focus like a regular NSWindow).

I have set canBecomeKeyWindow and canBecomeMainWindow to YES - but it doesn't seem to help the matter.

I've searched through the archives many times and have not found a solution - I've also searched CocoaDev.com - the closest solution I found was someone suggesting to draw the shadow from scratch.

Another developer I know is also in the same situation - any help would be great!

Regards,
Jerry
 _______________________________________________
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

  • Follow-Ups:
    • Re: NSBorderlessWindowMask - shadows not working correctly
      • From: email@hidden
  • Prev by Date: Re: PDFDocument and PDFPage
  • Next by Date: NSKeyedUnarchiver unarchiveObjectWithFile - memory not being freed but no leaks?
  • Previous by thread: Re: Notification when changes occur to an array?
  • Next by thread: Re: NSBorderlessWindowMask - shadows not working correctly
  • Index(es):
    • Date
    • Thread