IWindowTarget.OnHandleChange Method (IntPtr)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Sets the handle of the IWindowTarget to the specified handle.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

void OnHandleChange(
	IntPtr newHandle


Type: System.IntPtr

The new handle of the IWindowTarget.

The OnHandleChange method is called when the window handle of the control has changed.

.NET Framework
Available since 1.1
Return to top