C# Class ARCed.UI.DockPanel.DragHandlerBase

DragHandlerBase is the base class for drag handlers. The derived class should: 1. Define its public method BeginDrag. From within this public BeginDrag method, DragHandlerBase.BeginDrag should be called to initialize the mouse capture and message filtering. 2. Override the OnDragging and OnEndDrag methods.
Inheritance: System.Windows.Forms.NativeWindow, IMessageFilter
Show file Open project: borisblizzard/arcreator

Protected Methods

Method Description
BeginDrag ( ) : bool
OnDragging ( ) : void
OnEndDrag ( bool abort ) : void
OnPreFilterMessage ( Message &m ) : bool
WndProc ( Message &m ) : void

Private Methods

Method Description
EndDrag ( bool abort ) : void
IMessageFilter ( Message &m ) : bool

Method Details

BeginDrag() protected method

protected BeginDrag ( ) : bool
return bool

OnDragging() protected abstract method

protected abstract OnDragging ( ) : void
return void

OnEndDrag() protected abstract method

protected abstract OnEndDrag ( bool abort ) : void
abort bool
return void

OnPreFilterMessage() protected method

protected OnPreFilterMessage ( Message &m ) : bool
m System.Windows.Forms.Message
return bool

WndProc() protected final method

protected final WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void