InputNonClientPointerSource.WindowRectChanging Event

Definition

Occurs when the window rect is about to change.

// Register
event_token WindowRectChanging(TypedEventHandler<InputNonClientPointerSource, WindowRectChangingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
InputNonClientPointerSource::WindowRectChanging_revoker WindowRectChanging(auto_revoke_t, TypedEventHandler<InputNonClientPointerSource, WindowRectChangingEventArgs const&> const& handler) const;
public event TypedEventHandler<InputNonClientPointerSource,WindowRectChangingEventArgs> WindowRectChanging;
function onWindowRectChanging(eventArgs) { /* Your code */ }
inputNonClientPointerSource.addEventListener("windowrectchanging", onWindowRectChanging);
inputNonClientPointerSource.removeEventListener("windowrectchanging", onWindowRectChanging);
- or -
inputNonClientPointerSource.onwindowrectchanging = onWindowRectChanging;
Public Custom Event WindowRectChanging As TypedEventHandler(Of InputNonClientPointerSource, WindowRectChangingEventArgs) 

Event Type

Remarks

This corresponds to the WM_WINDOWPOSCHANGING windows message.

Applies to

See also