Hello,
Does anyone know under what condition CListCtrl::GetItemData(idx)
returns 0 for a multi-column list control. I am passing a valid index.
Thank You
1. Problems with GetItemData in CListCtrl
2. CListctrl::GetItemData causing problem
Hi,
I am working in visual studio 2005 environment. While retrieving
data from GetItemData it returns junk value. The same code is working
fine in visual studio 6 but causing problem in visual studio 2005.
To get data i am doing like
sTemp = (TCHAR*)m_pListCtrl->GetItemData(0);
and while inserting data i am doing like
LVITEM lvi = {0};
lvi.mask = LVIF_TEXT|LVIF_PARAM;
lvi.iItem = m_pListCtrl->GetItemCount();
lvi.lParam = (LPARAM)sTemp;
int iRetval = m_pListCtrl->InsertItem (&lvi);
where sTemp is wide char string
Please can you help me.
-Bhagyashree
3. CListCtrl::GetItemData() return NULL
4. about CComboBox::GetItemData(int index) return value
Hello, I have a question: Method DWORD CComboBox::GetItemData(int index) returns the 32-bit value associated with the item, or CB_ERR if an error occurs. DWORD is defined as unsigned long, CB_ERR is -1, How can -1 fall into the range of unsigned long? I am using VS6 Thank you Vaclav