fixes clipping problem for taskmgr process list

svn path=/trunk/; revision=41242
This commit is contained in:
Matthias Kupfer 2009-06-01 22:10:43 +00:00
parent 85da39f0ab
commit 60c7b6f542

View file

@ -74,10 +74,11 @@ ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
*/
rcClip.left = LVIR_BOUNDS;
SendMessageW(hWnd, LVM_GETITEMRECT, 0, (LPARAM)&rcClip);
rcClip.left = LVIR_BOUNDS;
rcItem.left = LVIR_BOUNDS;
SendMessageW(hWnd, LVM_GETITEMRECT, ListView_GetItemCount(hWnd) - 1, (LPARAM)&rcItem);
rcClip.bottom = rcItem.bottom;
rcClip.left = LVIR_ICON;
rcClip.right = rcItem.right;
rcItem.left = LVIR_ICON;
SendMessageW(hWnd, LVM_GETITEMRECT, 0, (LPARAM)&rcItem);
rcClip.left = rcItem.right;