語言

InputNonClientPointerSource.WindowRectChanging 事件

定義

當視窗rect即將改變時會發生。

// 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 Windows 訊息。

適用於

另請參閱