Re: Thread-generated signals



Le vendredi 02 juin 2006 �3:33 -0700, heavenscape a �it :
> Yes! My background thread will send a message when it has finished something,
> so I do need the check the message status frequently.
> 
> If my OnIdle function return false, it will never be called again, and
> therefore cannot monitor the message status any more.
> 
> Is there any alternate solution? 

You can use a timer, or display the message from your thread, or ...

from the thread, you might use something as:

    gdk_threads_enter();
    RefreshImage();
    gdk_threads_leave();




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]