14 Jan
2013
14 Jan
'13
9:15 p.m.
2013/1/14 Nikolay Sivov <bunglehead(a)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.