Re: Updating a Static Text and Slider From High Priority Thread While Resizing a Window [SOLVED]

2008-10-19 Thread Peter Zegelin
Actually I just found an old thread: 'Problem redrawing views while window resize button is held' and the suggestion was to use [window displayIfNeeded]; to force a window update. This works, so problem solved. Thanks again, Peter On 20/10/2008, at 2:33 PM, Peter Zegelin wrote: Thanks

Re: Updating a Static Text and Slider From High Priority Thread While Resizing a Window

2008-10-19 Thread Peter Zegelin
Thanks for your reply Andrew. Unfortunately it still doesn't work. The text or slider don't update at all if I click and hold on the resize widget. It will only update if I move the mouse and it is very 'jerky' even when I do that. Here is what I have. UpdatePosition is called from my threa

Re: Updating a Static Text and Slider From High Priority Thread While Resizing a Window

2008-10-18 Thread Andrew Merenbach
On Oct 18, 2008, at 7:27 PM, Andrew Merenbach wrote: On Oct 18, 2008, at 4:23 AM, Peter Zegelin wrote: Hi, Still fairly new to Cocoa here. I have a high priority thread that that for the moment just calls back as often as possible to a method that updates a static text object with the c

Re: Updating a Static Text and Slider From High Priority Thread While Resizing a Window

2008-10-18 Thread Andrew Merenbach
On Oct 18, 2008, at 4:23 AM, Peter Zegelin wrote: Hi, Still fairly new to Cocoa here. I have a high priority thread that that for the moment just calls back as often as possible to a method that updates a static text object with the current time. A slider is also updated to a new value.

Updating a Static Text and Slider From High Priority Thread While Resizing a Window

2008-10-18 Thread Peter Zegelin
Hi, Still fairly new to Cocoa here. I have a high priority thread that that for the moment just calls back as often as possible to a method that updates a static text object with the current time. A slider is also updated to a new value. Its a bit like a stop watch with a position indicato