Home > Software engineering > MFC/VC on VIEW window real-time monitored after receiving character processing
MFC/VC on VIEW window real-time monitored after receiving character processing
Time:09-16
Currently have a project, in a VIEW window, have to wait, data processing, processing and speed and so on several state, window to real-time is ready to receive data from the front-end ports end, before not yet received the data window has always been a wait state, as soon as we receive the data, data needs to be automatically input into a combo control and perform processing, excuse me everybody, what thinking is to be used for design is better? Said simple point is that the window waiting for front-end ports data together, after receive automatically added to the COMBO, whether to use multithreading? In which position real-time monitoring is better? thank you
CodePudding user response:
If data volume is not big, timer in receiving can, of course, have to non-blocking asynchronous mode Large amount of data, background threads, thread after receiving post message
CodePudding user response:
Thanks to reply, the data quantity is not big, can use timer, but the settimer should be put in what position? I put in onshowwindow can only be triggered once, thank you.