InputNonClientPointerSource.WindowRectChanged Event

Definition

Occurs when the window position has finished changing.

// Register
event_token WindowRectChanged(TypedEventHandler<InputNonClientPointerSource, WindowRectChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void WindowRectChanged(event_token const* cookie) const;

// Revoke with event_revoker
InputNonClientPointerSource::WindowRectChanged_revoker WindowRectChanged(auto_revoke_t, TypedEventHandler<InputNonClientPointerSource, WindowRectChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<InputNonClientPointerSource,WindowRectChangedEventArgs> WindowRectChanged;
function onWindowRectChanged(eventArgs) { /* Your code */ }
inputNonClientPointerSource.addEventListener("windowrectchanged", onWindowRectChanged);
inputNonClientPointerSource.removeEventListener("windowrectchanged", onWindowRectChanged);
- or -
inputNonClientPointerSource.onwindowrectchanged = onWindowRectChanged;
Public Custom Event WindowRectChanged As TypedEventHandler(Of InputNonClientPointerSource, WindowRectChangedEventArgs) 

Event Type

Remarks

This corresponds to the WM_WINDOWPOSCHANGED windows message.

Applies to

See also