|
-
April 14th, 2004, 02:48 AM
#1
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|