• 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
NSImageView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSImageView


  • Subject: NSImageView
  • From: Marco Binder <email@hidden>
  • Date: Sun, 8 Jun 2003 18:21:38 +0200

How can i tell an NSImageView that its image needs to be updated?!

I draw into the image that is displayed in this NSImageView and then
call setNeedsDisplay on the imageview, but it doesnt update the image.
I tried many things, but the only thing that actually works is copying
the image or setting up a new one for each draw operation. Seemingly,
the image only is redisplayed, if its pointer changes. Is there an
internal cache somewhere i need to flush?

Marco


--
|\ /| email@hidden http://www.marco-binder.de
| \/ | Telefon: 07531 / 94 19 94 Fax: 07531 / 94 19 92
| |ARCO Snail-Mail: Banater Str. 3 - 78467 Konstanz
BINDER _____________________________________________________
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: NSCursor changes not sticking
  • Next by Date: Fwd: Fw: NSBitmapImageRep bitmapData and 16 bits per sample
  • Previous by thread: Strange bug with nested function
  • Next by thread: Pulsating buttons CPU load (Was: Unjustified CPU load with a simple Pulsating buttons CPU load (Was: Unjustified CPU load with a simple
  • Index(es):
    • Date
    • Thread