List VCL controls in an external application

It is possible through the Windows API to enumerate and repeat VCL controls in the form (TForm) of an external Win32 application written in C ++ Builder or Delphi.

Bye

+3
source share
3 answers

No. First of all, keep in mind that the Windows API does not know what "VCL" is. He does not know "TButton" or "TStringGrid", and he certainly does not know "TImage" or "TLabel", which do not even have window handles.

EnumChildWindows, . , , "TButton" "TStringGrid", , . , - - .

TestComplete, Automated QA, , , . , , Delphi, , , TestComplete, . ; sic TestComplete .

+7

DFM, .

VCL Scanner, . .

0

Delphi 2006 vcltest3.dll . , .

0

Source: https://habr.com/ru/post/1720992/


All Articles