FindOwnerControl function
Returns the TWinControl for the given Handle; the parent control for a non-TWinControl Handle.
Declaration
function FindOwnerControl(Handle: HWND): TWinControlDescription
Handle can also be a child handle (of a TControl), in which case the returned control is the parent of the desired control. Parent, not Owner as suggested by the function name!
The function recursively tries GetParent(Handle), so the result depends on
the implementation (meaning) of a parent handle.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
