Home > Software engineering >  Threads in the Edit update/Listview content (winapi)
Threads in the Edit update/Listview content (winapi)

Time:11-03

Such as
 HWND hEdit; 
The HWND hListview;

String text="test123";

Want to text updates to the Listview and Edit, how should do?

Because the text content is changing, don't know how to preach in the past, thank you.

CodePudding user response:

Thread is normal model of consumer and producer

CodePudding user response:

Multiple Threads in the User Interface of http://msdn.microsoft.com/zh-cn/library/ms810439.aspx

CodePudding user response:

If there is no thread can achieve a similar effect?

Now the problem is the EDIT can be updated in real time,
But no, LISTVIEW

CodePudding user response:

The
reference 3 floor abcdwell response:
if there is no thread can achieve a similar effect?

Now the problem is the EDIT can be updated in real time,
But no, LISTVIEW

In the EDIT event updates data
Through the message is passed to the LISTVIEW
LISTVIEW messages are received, update the data
So you can synchronize
  • Related