Edit

Share via


AspNetManagementUtility.GetActiveWindow Method

Definition

Retrieves the window handle to the active window that is attached to the message queue of the calling thread.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static IntPtr GetActiveWindow();
public static IntPtr GetActiveWindow ();
static member GetActiveWindow : unit -> nativeint
Public Shared Function GetActiveWindow () As IntPtr

Returns

IntPtr

nativeint

The handle to the active window attached to the message queue of the calling thread; otherwise, null (Nothing in Visual Basic).

Remarks

For more information about programming with the AspNetManagementUtility class and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.

Applies to