Windows Property

Applies to:  Thread object
See also:  Windows collection

Returns a collection containing all of the top-level windows which are owned by a thread.

Syntax:

object.Windows

The Windows syntax has these parts:

Part Description
object The name of a Thread object.

Remarks:

If the Thread object is the return value of GetAllThreads, then the collection returned by the Windows property will contain the same windows as the collection returned by GetTopLevelWindows.

If the Thread object is the Thread property of a Window object, or the return value of ThisThread or WrapThread, then the collection returned by the Windows property will contain the top-level windows which are owned by the thread.

 

Home Copyright and Disclaimer