Home > Software engineering >  Consult everybody warrior, and now I'm a listctrl after inserting data, and then through settin
Consult everybody warrior, and now I'm a listctrl after inserting data, and then through settin

Time:10-13

Consult everybody warrior, and now I'm a listctrl after inserting data, and then through the lparam parameter using setitem function set an eigenvalue binding line of data, under the debug version is no problem, why always returns 0 under realse version, you have encountered this kind of situation,

CodePudding user response:

Release mode to set breakpoints see content is original, with TRACE output macro test information, or to release all closed mode optimization

CodePudding user response:

How did you write your code?

CodePudding user response:

SetItemData is bound data? Do you use the standard ClistCtrl?

CodePudding user response:

Code:
LV_ITEM lvi;
Lvi. Mask=LVIF_PARAM;
Lvi. IItem=dRowIndex;
Lvi. LParam=iID;
BSetItem=m_MACMVClistQueryResult. SetItem (& amp; Lvi);

Is the painting style of the controls, but since the picture just draw interface, don't change his behavior

CodePudding user response:

reference 1st floor lx624909677 response:
release mode to set breakpoints to see content was not, in the TRACE output macro test information, or shut down in all the release mode optimization

I return values by the pop-up box prompts for different
  • Related