Home > Software engineering >  After the sendmessage response function, urgent
After the sendmessage response function, urgent

Time:10-17

I added a sendmessage in child controls, in another window to add the corresponding response function, response content is added in the listcontrol value,
But is found in the running of listcontrol SetitemText failed, don't know why, but could not find the cause of the failure,
Sendmessage message make sure there is no problem, also entered the response function, but perform specific operations would have failed and messagebox such execution is no problem
Seek help from a great god, the day after tomorrow will use all the time, thank you first

CodePudding user response:

In your SetitemText directly if there is a problem in the window containing the listcontrol

This message is not the issue, all by itself SetitemText you wrong

CodePudding user response:

Have received setitemtext the string? Perform operation failure is what meaning, is to perform the program crashed or performed no effect? A breakpoint inside and see more data

CodePudding user response:

In another window
Across processes?

CodePudding user response:

SetitemText insert column, line is correct,

CodePudding user response:

Get the error code, getlasterror