• 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
Stopping redrawing contents when resizing window ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stopping redrawing contents when resizing window ?


  • Subject: Stopping redrawing contents when resizing window ?
  • From: Robert Miller <email@hidden>
  • Date: Fri, 11 Oct 2002 14:05:01 -0400

Hello,

Does any one know if it is possible to stop redrawing the contents of a window while it is being resized. ? I have an NSTableView with many cells in a window and when the window is resized it is very sluggish because of the redrawing of the cells. It seems that entire area is updated even though a small area only may become newly exposed. Even if I detect the 'inLiveResize' flag and try to draw nothing in my DrawRect method. Someone or something insists on erasing the view to white. I've tried all sorts of ways to overcome the problem but with no luck. I'd like to control the updating of the exposed areas if the window is grown and do nothing if the window is shrunk. I haven't been able to find anything on this in the archives or docs. I'm sure I've missed something.

Any info is greatly appreciated,
Regards,
Bob M
_______________________________________________
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.

  • Follow-Ups:
    • Re: Stopping redrawing contents when resizing window ?
      • From: Cameron Hayne <email@hidden>
  • Prev by Date: Re: Toronto cocoa programmers?
  • Next by Date: [newbie] Multi-window applications?
  • Previous by thread: Re: Re-opening OpenGLView
  • Next by thread: Re: Stopping redrawing contents when resizing window ?
  • Index(es):
    • Date
    • Thread