How can I get text of ListCtrl in another window when I put mouse on the list?
Hi all,
I want to get text of ListCtrl in another window when I put mouse on the ListCtrl.
I got CListCtrl* but I can't get text of specified (row, col).
//
CListCtrl* pListCtrl = (CListCtrl*)WindowFromPoint(ScreenPoint);
//
LVITEM lvi;
lvi.iItem = 0;
lvi.iSubItem = 3;
lvi.pszText = szBuffer;
lvi.cchTextMax = 255;
pListCtrl->GetItem(&lvi);
//
Here, the szBuffer is empty.
Please help me.
Thanks in advance,
Kim, YoungHwan.