mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 22:41:42 +02:00
win32: a trial to fix a range check error Martin has found
git-svn-id: trunk@27725 -
This commit is contained in:
parent
32c7dba3c0
commit
f1dec0d4e0
@ -539,7 +539,7 @@ begin
|
||||
h := Windows.ChildWindowFromPointEx(h, Windows.POINT(P), CWP_SKIPINVISIBLE or CWP_SKIPDISABLED);
|
||||
|
||||
HitTestCode := SendMessage(h, WM_NCHITTEST, 0, LParam((CursorPos.X and $FFFF) or (CursorPos.Y shl 16)));
|
||||
SendMessage(h, WM_SETCURSOR, h, MakeLong(HitTestCode, WM_MOUSEMOVE));
|
||||
SendMessage(h, WM_SETCURSOR, WParam(h), MakeLong(HitTestCode, WM_MOUSEMOVE));
|
||||
end;
|
||||
|
||||
class procedure TWin32WSWinControl.SetShape(const AWinControl: TWinControl;
|
||||
|
Loading…
Reference in New Issue
Block a user