IWindowTarget.OnHandleChange(IntPtr) Method

Definition

Sets the handle of the IWindowTarget to the specified handle.

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

public:
 void OnHandleChange(IntPtr newHandle);
public void OnHandleChange (IntPtr newHandle);
abstract member OnHandleChange : nativeint -> unit
Public Sub OnHandleChange (newHandle As IntPtr)

Parameters

newHandle
IntPtr

nativeint

The new handle of the IWindowTarget.

Remarks

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

Applies to