RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.IsVCLControl Function

IsVCLControl returns true if a control is a VCL control.

Pascal
function IsVCLControl(Handle: HWND): Boolean;
C++
Boolean IsVCLControl(HWND Handle);

IsVCLControl returns true if the visual control specified by the Windows Handle is a VCL component. Otherwise, false is returned.  

Use FindControl to get a reference to the control via its handle. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!