2013/1/14 Nikolay Sivov bunglehead@gmail.com:
On 1/15/2013 00:53, Daniel Jelinski wrote:
- if(lParam == -1)
return LISTVIEW_SetIconSpacing(infoPtr, -1, -1);
- return LISTVIEW_SetIconSpacing(infoPtr, LOWORD(lParam),
HIWORD(lParam));
Why do you need to handle this case specially? If it's -1 for 64bit comctl32 it should give you the same values with HIWORD/LOWORD as it does for 32bit.
On 64bit the behavior with lParam=0xFFFFFFFF is different from that with lParam=-1. HIWORD/LOWORD values are the same, so without this special case they would behave the same way.