digao-dalpiaz / DzHTMLText

Delphi and Lazarus HTML Label component
MIT License
194 stars 53 forks source link

When mouse enters control bounds, over link the hand cursor will not display immediately #11

Open digao-dalpiaz opened 4 years ago

digao-dalpiaz commented 4 years ago

When there is a link at corner of any control bounds, when mouse enters the control directly to the link, in the first pixel the cursor don't changes immediately to hand type.

Then when mouse move event fires, the hand is displayed.

digao-dalpiaz commented 4 years ago

Apparently, this is one of Windows behavior:

https://stackoverflow.com/questions/53783776/cursor-not-changing-on-mousedown

digao-dalpiaz commented 4 years ago

To better understand the problem, this actually occurs at any border of any link contained in the text when the mouse enters the link area, if you move the mouse just 1 pixel and keep the mouse still on it. When moving the mouse another 1 pixel into the link, then the cursor is updated to the correct cursor (hand)