Hi Bruno,
Check this example:
Listing child windows for the Windows desktophttp://www.news2news.com/vfp/?example=27&function=40The example shows how to enumerate
child windows for the Windows desktop with properties as width, height, position, caption, class name and window handle.
API calls used:
GetClassName
GetDesktopWindow
GetWindow
GetWindowRect
GetWindowText
IsWindowVisible