29 Apr
2016
29 Apr
'16
1:24 p.m.
On 29.04.2016 15:21, Michael Stefaniuc wrote:
- rcDragIcon.left = rcListBox.left - DRAGICON_HOTSPOT_X; - rcDragIcon.top = rcItem.top - DRAGICON_HOTSPOT_Y; - rcDragIcon.right = rcListBox.left; - rcDragIcon.bottom = rcDragIcon.top + DRAGICON_HEIGHT; + SetRect(&rcDragIcon, rcListBox.left - DRAGICON_HOTSPOT_X, rcItem.top - DRAGICON_HOTSPOT_Y, + rcListBox.left, rcDragIcon.top + DRAGICON_HEIGHT);
This won't work as expected. Haven't checked if there are more similar cases.