• 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: refresh GUI problem.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: refresh GUI problem.


  • Subject: Re: refresh GUI problem.
  • From: Justin Anderson <email@hidden>
  • Date: Thu, 28 Aug 2003 02:56:13 -0400

Send a -display message to the NSTextField whenever you want it updated right away. Your other option is to multithread your app for those display calls instead.

Justin

On Thursday, August 28, 2003, at 02:34 AM, Pei Xiang wrote:

i'm trying to display progress information about a
running process (an instance method doing some
calculation) by asking the process to write different
text messages to the interface (writing into a
NSTextField) throught the time.

it turns out that the process is too "busy" so that
messages during the process cannot be seen in time on
the GUI, but only after the process ends, the last
message got displayed.

is there anyway to let the GUI refresh in time so that
each message can be seen? or my method is too cruid,
anybody suggest some better way to do this? thanks!

Pei


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
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.
_______________________________________________
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.

References: 
 >refresh GUI problem. (From: Pei Xiang <email@hidden>)

  • Prev by Date: refresh GUI problem.
  • Next by Date: about NSStringEncoding
  • Previous by thread: refresh GUI problem.
  • Next by thread: NSTextView inside custom control
  • Index(es):
    • Date
    • Thread