[DUG] parenting

Rohit Gupta r.gupta at xtra.co.nz
Mon Dec 11 20:54:43 NZDT 2006


You can use GetParentForm and then compare with the form you want.

Ross Levis wrote:
> Is there a Windows API call that can tell me if a handle 
> is a child/grand child/great grandchild/etc of another handle.  I 
> don't need to know the specific relationship, just whether it is related.
>  
> I basically just want to know if a given handle is a component on a form.
>  
> Thanks,
> Ross.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>   



More information about the Delphi mailing list