I am not very sure if this has been discuss before, if yes, please ignore it.
The GetItemData do not return the correct information.
Instead of returning the lParam from LVITEM structure, currently it returning the result of the ListView_GetItem macro. You will always get 1 or 0 as result.
I change the following code
return ListView_GetItem(m_hWnd, &lvi);
Note: I ignore the result of the ListView_GetItem macro.
This has been corrected in the later versions of Win32++. The latest version available currently from SourceForge is 6.6.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.