Home > Software engineering >  Use the combobox conditions screening array data
Use the combobox conditions screening array data

Time:09-18

I invested the excel content is stored in the array, and displayed in the list list, now I think the content is used in the filtered through the combobox, selected the data I need show in the list, how to operate, can know the great god of code, be obliged, MFC beginner, small white one

CodePudding user response:

To have great god answer urgent

CodePudding user response:

"Now I think the content is used in the filtered through the combobox" and combobox?

CodePudding user response:

1, the content is stored in the array combobox should choose the condition, choose good condition after qualified into the array in the array 1 2, the empty List, the array according to the List of 2, I understand, right?

CodePudding user response:

Data already in the array,
M_cb. ResetContent ();
From an array screening qualified m_cb. AddString join

CodePudding user response:

Combo is not the sort attribute?

CodePudding user response:

Yourself good filtering data, AddString in a drop-down list box just a matter of ah, what is the relationship between screening data and combo

CodePudding user response:

reference 5 floor schlafenhamster reply:
sort attribute Combo is not?
that's sort, not screening

CodePudding user response:

ComboBox is just a display controls, not have filter function, have all read the stored data in the array, how to filter is the need to code, after filtered through the result of the comboBox control display,

CodePudding user response:

MVC know about the
  • Related