mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-23 05:40:06 +02:00
also search wincontrols for hints, because win32 always retrieves form as wincontrol
git-svn-id: trunk@6441 -
This commit is contained in:
parent
dd11737c04
commit
7cefa18489
@ -2558,7 +2558,7 @@ begin
|
|||||||
// then search a control at the position
|
// then search a control at the position
|
||||||
ClientPos := AWinControl.ScreenToClient(Position);
|
ClientPos := AWinControl.ScreenToClient(Position);
|
||||||
|
|
||||||
AComponent := AWinControl.ControlAtPos(ClientPos,True);
|
AComponent := AWinControl.ControlAtPos(ClientPos,true,true);
|
||||||
if not Assigned(AComponent) then
|
if not Assigned(AComponent) then
|
||||||
AComponent := AWinControl;
|
AComponent := AWinControl;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user