InputNonClientPointerSource.WindowRectChanging 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當視窗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 訊息。