Borland C ++ Builder FAQ
The content The last update: 12/12/2008

How to consider window title on it хэндлу?

The author: KAV
The initial link: - - -

Let at us is OurHandle - хэндл the windows which title it is necessary to consider. We write down this title in Label1:
char tt [30]; //a variable-buffer for storage of the text of title 
GetWindowText (OurHandle, tt, 30); //parameters: хэндл, the buffer, how many characters a maximum 
Label1-> Caption = tt//this text to the text of component Label1 also is appropriated