WorkflowDesignerMessageFilter.OnMouseCaptureChanged Method
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 items selected by dragging the mouse changes.
protected:
virtual bool OnMouseCaptureChanged();
protected virtual bool OnMouseCaptureChanged ();
abstract member OnMouseCaptureChanged : unit -> bool
override this.OnMouseCaptureChanged : unit -> bool
Protected Overridable Function OnMouseCaptureChanged () As Boolean
Returns
true
if the message is handled; otherwise, false
.
Examples
The following code example shows how to override the OnMouseCaptureChanged method to return false
so that other components in the designer architecture can process the method.
This code example is part of the Basic Designer Hosting SDK Sample from the DesignerShell.cs file. For more information, see Basic Designer Hosting.
protected override bool OnMouseCaptureChanged()
{
//Allow other components to process this event by not returning true.
mouseDown = false;
return false;
}
Protected Overrides Function OnMouseCaptureChanged() As Boolean
' Allow other components to process this event by not returning true.
mouseDown = False
Return False
End Function
Remarks
OnMouseCaptureChanged occurs when the items selected by dragging the mouse changes.