ThisThread Method

Applies to:  WindowSpy
See also:  GetAllThreads method, Thread object, WrapThread

Returns a Thread object which represents the application's main thread.

Syntax:

Set objThread = ThisThread

The ThisThread method syntax has these parts:

Part Description
objThread A Thread object which will store the value returned by ThisThread

Remarks:

Calling ThisThread is equivalent to calling WrapThread(App.ThreadID) 

Home Copyright and Disclaimer