OnEnumerateWindows
Delphi
property OnEnumerateWindows: TOnEnumerateWindows read FOnEnumerateWindows write FOnEnumerateWindows;
C++Builder
__property TOnEnumerateWindows OnEnumerateWindows = {read=FOnEnumerateWindows, write=FOnEnumerateWindows};
typedef void __fastcall (__closure *TOnEnumerateWindows)(System::TObject* Sender, HWND WindowHandle, System::UnicodeString WindowName, System::UnicodeString WindowClass);
C#
public event OnEnumerateWindowsEventHandler OnEnumerateWindows;
public delegate void OnEnumerateWindowsEventHandler(object sender, TOnEnumerateWindowsEventArgs e);
VB.NET
Public Event OnEnumerateWindows As OnEnumerateWindowsEventHandler
Public Delegate Sub OnEnumerateWindowsEventHandler(sender As Object, e As TOnEnumerateWindowsEventArgs)
C++/Qt
void SetOnEnumerateWindows (TOnEnumerateWindowsCb OnEnumerateWindowsCb);
typedef void CALLBACK TOnEnumerateWindowsCb (void *Object, void *Sender, HWND WindowHandle, wchar_t *WindowName, wchar_t *WindowClass);
Return information about the visible windows.
Remarks
Can be used in the screen recording of a window, to retrieve the name, class and handle of the visible windows.
This makes it possible to retrieve the identifier of a window to perform the screen recording on this window.
See the "Recording a window " chapter for more information.