InputNonClientPointerSource.WindowRectChanging Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.