CodePudding user response:
What birdcall threads similar CListCtrl, you mean in the child thread processing CListCtrl object?Or you want to write a CListCtrl similar control?
CodePudding user response:
You need to create the UI thread and can be used in MFC controlsCodePudding user response:
Thank you for your reply, I just want to own similar threads are used to draw a CListCtrl controls, but I have to check the official BBS said Microsoft gdi drawing does not support multithreading,CodePudding user response:
@ 2 floor, yes, to create the UI thread to use MFC controls drawing can't occupy the main thread of the CPU???????CodePudding user response:
Multiple Threads in the User Interface of http://msdn.microsoft.com/zh-cn/library/ms810439.aspxCodePudding user response:
Thank you zhao four teacher gives advice, visit the MSDN so long, today finally received zhao four teachers personally to advice the in the mind very excited! Small I met the current problem is the main thread every 10 milliseconds must do drawing response, when I received some kind of business to the application of the CListCtrl inserting a row or update the data, make the main thread can't timely in the next 10 milliseconds drawing, what good method can solve the problem, "create the UI thread and can be used in MFC controls" I was, in the implementation of this method is not the result,CodePudding user response:
@ oyljerry thank you for your resume, can you give a simple demo, I seem to not display interface,CodePudding user response: