• 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: How can we draw a NSWindow in a custom NSView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can we draw a NSWindow in a custom NSView?


  • Subject: Re: How can we draw a NSWindow in a custom NSView?
  • From: Stéphane Sudre <email@hidden>
  • Date: Tue, 2 Oct 2007 09:38:14 +0200


On mardi, octobre 2, 2007, at 08:57 AM, Stéphane Sudre wrote:


On mardi, octobre 2, 2007, at 02:42 AM, Ricky Sharp wrote:

...

One cool thing about this approach is that it appears to be Expose-savvy (at least in 10.4.x). The fake window's position will always be in sync with its parent window. And, since the fake window can never become key/main, expose keeps it out of its list of windows you can directly select. When you mouseover the fake window, expose gives you the name of its parent window instead.

That's the overlay window solution I talked about in the original post. The main issue with this solution is that the depth is not the same for the items inside the overlay window and the parent window. That could be a problem for all the drawing process I have in mind.


But this might be the solution I will end up using.

The other issue with an overlay window is when you minimize the parent window. If I am to believe what I see with Drawers, the child window would be hidden before the window is minimized. Leaving a large blank space in the parent window. I don't like this a lot.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: How can we draw a NSWindow in a custom NSView? (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: NSUserDefaults per Document
  • Next by Date: Re: mail-in db/app
  • Previous by thread: Re: How can we draw a NSWindow in a custom NSView?
  • Next by thread: Re: How can we draw a NSWindow in a custom NSView?
  • Index(es):
    • Date
    • Thread