CString str = _T("just a test");
COMBOBOXEXITEM Item;
Item.mask = CBEIF_TEXT ;
Item.pszText = (LPTSTR)(LPCTSTR)str;
Item.iItem = 0;//index
m_comboboxex.InsertItem(&Item);
CString不可以直接和LPTSTR划等号的哈,,good luck,
奶茶正解