Can a view's Invalidate be called safely from an external thread?

From: Sytse (ln.lla4sx_at_mlemenol.com)
Date: 09/16/04


Date: Thu, 16 Sep 2004 21:44:57 +0200

I want a view to display some data collected/processed by a couple of worker
threads.
Is it safe to call the views Invalidate from these threads, or should I
create another thread to do the actual drawing.

Thanks,

Sytse.



Relevant Pages

  • Re: Invalidate but do not draw background
    ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... I need to display data as it comes. ... > If I use Invalidate() or Invalidatefunctions, ... > I think it is because I have two requests for plotting data with two> different Graphics: one is coming from acquisition board when the data is> ready, and the other - from Windows when I resize the window. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Thread Pausing & Resuming
    ... but I still had a Sync Problem. ... I found part of my synchronizing problem. ... I changed it to send an Invalidate Message at the end of the thread ... When I display the Scope and the FFT, The controls and windows are updated ...
    (microsoft.public.vc.mfc)
  • Re: Displaying 120 Mega Pixels in 256 MB Video RAM
    ... display the first 2.3MPx and do nothing more. ... pixels, then I have a 12MPx image to show. ... would only use video memory for that portion of the image that is ... the display card) BitBlt to move the image around, and invalidate the area that is ...
    (microsoft.public.vc.mfc)
  • Re: Displaying 120 Mega Pixels in 256 MB Video RAM
    ... display the first 2.3MPx and do nothing more. ... would only use video memory for that portion of the image that is ... the display card) BitBlt to move the image around, and invalidate the area that is ... the entire bitmap image, but only the part that has been invalidated. ...
    (microsoft.public.vc.mfc)
  • Re: How do you display your coins?
    ... collection but it does keep it safe. ... great in a nice display case for my own personal enjoyment. ... display cases with the Queen Ann legs that has glass sides and a hinged ... for displaying coins if you can find something similar. ...
    (rec.collecting.coins)