Header is not taken into account when auto scrolling
Original Reporter info from Mantis: cobines
-
Reporter name:
Original Reporter info from Mantis: cobines
- Reporter name:
Description:
When auto scrolling in some cases mouse cursor position is compared against Client bounds but ClientRect does not contain header and header height is not substracted from mouse position.
I have added my own scrolling, when mouse is moved to the border of the ClientRect the tree should scroll.
To reproduce:
- Run project.
- Move mouse to the most bottom node. Scrolling should start but it does not.
- Move mouse a little bit up, to the second or third from bottom node. Scrolling starts.
Same thing at the top of the control. Scrolling is not performed when mouse is on the most top node, but it is performed when mouse is on the header.
Patch against trunk attached.
Mantis conversion info:
- Mantis ID: 21944
- OS: Windows XP
- OS Build: SP3
- Build: trunk/2412
- Platform: Win32