Version

OnDragCaption Method

Overriden. Invoked when the window is about to be moved using the mouse on the caption area.
Syntax
'Declaration
 
Protected Friend Overrides Function OnDragCaption( _
   ByVal pt As Point, _
   ByVal mouse As MouseDevice _
) As Boolean
protected internal override bool OnDragCaption( 
   Point pt,
   MouseDevice mouse
)

Parameters

pt
The point relative to the upper left corner of the window.
mouse
The mouse device used to initiate the action

Return Value

True if the dockmanager has initiated a drag; otherwise false to allow the base implementation to perform the move operation.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also