RE: Separate thread for updating virtual listview
- From: changliw@xxxxxxxxxxxxxxxxxxxx (Charles Wang[MSFT])
- Date: Mon, 01 Oct 2007 09:47:10 GMT
Hi Petter,
I understand that you would like to create a separate thread for your
application's data-collection. You would like to find some good examples on
how to do this.
If I have misunderstood, please let me know.
For terminating a thread, you may refer to this article:
Safely Stopping Threads
http://www.codeguru.com/cpp/misc/misc/threadsprocesses/article.php/c3747/
For communication between threads, please use PostMessage to do it. For
more information, please refer to:
How to start a second thread in an MFC-based ActiveX control to fire events
in Visual C++
http://support.microsoft.com/kb/157437
Using Worker Threads
http://www.codeproject.com/threads/usingworkerthreads.asp
Hope this helps. If you have any other questions or concerns, please feel
free to let me know. Have a good day!
Best regards,
Charles Wang
Microsoft Online Community Support
======================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
.
- References:
- Separate thread for updating virtual listview
- From: Petter
- Separate thread for updating virtual listview
- Prev by Date: MFC and RequestPowerNotifications
- Next by Date: call MFC form in DLL
- Previous by thread: Separate thread for updating virtual listview
- Next by thread: Re: Separate thread for updating virtual listview
- Index(es):
Relevant Pages
|