mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 21:59:36 +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
|
||||
ClientPos := AWinControl.ScreenToClient(Position);
|
||||
|
||||
AComponent := AWinControl.ControlAtPos(ClientPos,True);
|
||||
AComponent := AWinControl.ControlAtPos(ClientPos,true,true);
|
||||
if not Assigned(AComponent) then
|
||||
AComponent := AWinControl;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user