How to improve real time updating of MFC dialogue's data ?

  • Thread starter Thread starter hitbuyi
  • Start date Start date
H

hitbuyi

Guest
In my project, I get a lot of data from CAN, and want to display them in a List table which is created in a dialogue class, as faster as better

Unfortunately, I found the updating one item of the list table takes about 2~3 ms , I exptect it less than 1 ms, even 500 us

I have tried multiple threads method for two days, BUT failed, PostThreadMessage() lost messages!

I have tried to use timer counter, the updating speed not get better;


Q1, Does MFC 's message handlers are mutiple threads? if so, I would split the data's display on several messages handlers

Q2, For Window or MFC, 1ms time response is a limit? which can't be more faster?

Q3, Is there any method to speed up updating data of a dialogue in MFC? I have chekced the some window's based program,such as VECTOR CANoe, they updates data on window's UI very quickly .


Thanks

Continue reading...
 
Back
Top