• 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
Once more with NSTableView headaches...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Once more with NSTableView headaches...


  • Subject: Once more with NSTableView headaches...
  • From: "Brad Peterson" <email@hidden>
  • Date: Wed, 30 Jul 2003 05:37:00 +0000

Hi all,

I've recently (forcibly) inherited some odd NSTableView code which (originally) was part of an FTP application...

The problem I'm trying to deal with is that it doesn't seem to correctly redraw itself in the case of no records. (In the FTP sense, there would never be such a case as there would always be the . and .. folders.)

Anyway... I've seen it sometimes repaint correctly and sometimes never repaint at all until a new set of data is loaded.

The one thing that is consistent is that if I resize the window, everything redraws **perfectly**!!

As you can imagine, this is quite frustrating... So... short of me posting all of the code here (which I really can't, even if it were practical)... is there anyone on this list who has either...

(a) seen this kind of behavior before and knows what I"m missing? or...
(b) can help me fake a resize event so that the window will kindly repaint itself as I'd like?

I'll take either at this point as my head really hurts and I don't see an answer in sight.

Thank you!! :)

Brad

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
_______________________________________________
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: Cron Job Utility or GUI for Mac OS X?
  • Next by Date: While on the subject of: NSOutlineView
  • Previous by thread: An error occurring early in runtime (Jaguar)
  • Next by thread: Creating blocking methods which need to receive events
  • Index(es):
    • Date
    • Thread