The Client Management ActiveX control contains the ActiveWindow method.

 

 

Purpose

ActiveWindow returns the handle to the active window, attached to the current thread’s message queue.
 

Syntax

#Retval = ObjectTagName.ActiveWindow()

Operation

ObjectTagName is an object expression that evaluates to the ClientManagement control.

Remarks

If the method succeeds, it returns a valid HWND value for the active window. If no active window is found for the current thread, it returns NULL.   

Example

 

Comment on this topic

Topic ID: 500447