Home > Software engineering >  Intelligent device serial communication, data read
Intelligent device serial communication, data read

Time:10-08

Wrote a data interface is used to read digital display table, but the data did not display properly, click on the task bar will display the data interface, and digital display table data changes, the screen is not displayed properly,

CodePudding user response:

CodePudding user response:

Do a timer, try refresh every ten seconds

CodePudding user response:

V code

CodePudding user response:

refer to the original poster u010067400 response:
write an interface used to read digital display table data, but the data did not display properly, click on the task bar will display the data interface, and digital display table data changes, the screen is not displayed properly,

MFC through changing events messaging, you can check the related news, set up the event handler, or use the time to refresh,

CodePudding user response:

The UpdateData (FALSE)

CodePudding user response:

According to the code inside the UpdateData (FALSE); The display to the interface change a variable's value will be displayed

CodePudding user response:

Why didn't update the data