语言

InputNonClientPointerSource.WindowRectChanging 活动

定义

当窗口矩形即将更改时发生。

// 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) 

事件类型

注解

这对应于 WM_WINDOWPOSCHANGING 窗口消息。

适用于

另请参阅