共用方式為


InputNonClientPointerSource.EnteredMoveSize 事件

定義

發生於視窗已進入移動大小循環時。

// Register
event_token EnteredMoveSize(TypedEventHandler<InputNonClientPointerSource, EnteredMoveSizeEventArgs const&> const& handler) const;

// Revoke with event_token
void EnteredMoveSize(event_token const* cookie) const;

// Revoke with event_revoker
InputNonClientPointerSource::EnteredMoveSize_revoker EnteredMoveSize(auto_revoke_t, TypedEventHandler<InputNonClientPointerSource, EnteredMoveSizeEventArgs const&> const& handler) const;
public event TypedEventHandler<InputNonClientPointerSource,EnteredMoveSizeEventArgs> EnteredMoveSize;
function onEnteredMoveSize(eventArgs) { /* Your code */ }
inputNonClientPointerSource.addEventListener("enteredmovesize", onEnteredMoveSize);
inputNonClientPointerSource.removeEventListener("enteredmovesize", onEnteredMoveSize);
- or -
inputNonClientPointerSource.onenteredmovesize = onEnteredMoveSize;
Public Custom Event EnteredMoveSize As TypedEventHandler(Of InputNonClientPointerSource, EnteredMoveSizeEventArgs) 

事件類型

備註

這會對應至 WM_ENTERSIZEMOVE 視窗訊息。

適用於

另請參閱