CodePudding user response:
TeeChar controlsCodePudding user response:
A new multiple Windows, the data distribution to each windowCodePudding user response:
If each process is the same as the curve, you can encapsulate curve and a child window, and then can callCodePudding user response:
Hope this article will be helpful to youhttps://zhidao.baidu.com/question/2116106506101977227.html
CodePudding user response:
Define a serial port communication class, only responsible for receiving data,This class can be a thread, or timer, time to get the data from the machine,
Then PostMessage, put the data table, in turn, to 10 window, and then in the window class to add the custom message,
According to curve,
CodePudding user response:
A window shows multiple curve, the curve is the best graphic controls, it will be very convenient,Different controls showed different curve! Throw the message can be different
GetView1 () - & gt; 1 PostMessage data, the curve of the corresponding interface WMU_MSG1 1 1 controls make action
GetView1 () - & gt; PostMessage data 2, WMU_MSG2 corresponding interface 1 curve 2 controls make action
GetView2 () - & gt; PostMessage data 1, WMU_MSG1 corresponding interface 2 curve 1 controls make action
GetView2 () - & gt; PostMessage data 2, WMU_MSG2 corresponding interface curve 2 control action
CodePudding user response:
Window subclassing curve, and, then, according to need, according to the arrangement,,Curve of curve 1 2 3
Curve 4 curve 5 6
And so on,,