InputNonClientPointerSource.WindowRectChanged 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 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.