1,取得当前项[code]POSITION pos = m_listctl.GetFirstSelectedItemPosition(); if (NULL == pos) { MessageBox(_T("请先选中一条记录!")); return; } int index = m_listctl.GetNextSelectedItem(pos);[/code]
Archive for the ‘C++和MFC’ Category
1,取得当前项[code]POSITION pos = m_listctl.GetFirstSelectedItemPosition(); if (NULL == pos) { MessageBox(_T("请先选中一条记录!")); return; } int index = m_listctl.GetNextSelectedItem(pos);[/code]