• 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
Window minimize erases content?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Window minimize erases content?


  • Subject: Window minimize erases content?
  • From: Darrell Walisser <email@hidden>
  • Date: Wed, 30 May 2001 09:59:44 -0500 (EST)

I have a NSWindow, created manually as a retained window, whose
contentview is set to a NSQuickDrawView. To draw to the window port, I
call LockPortBits() and GetPortBits(), then draw directly to window memory
using my own routines.
My problem is that when the window is minimized and unminimized,
the port gets colored with the Aqua pinstrip background. Since my app
will be drawing into the window buffer even when it is minimized, it is
important to me that this works correctly. Any clues as to how I might fix
this? Do I need to redraw and flush the entire window buffer when I detect
a minimize?

Thanks,
Darrell


  • Prev by Date: Manual event handling
  • Next by Date: Re: Simple Port Traffic?
  • Previous by thread: Manual event handling
  • Next by thread: Re: Window minimize erases content?
  • Index(es):
    • Date
    • Thread