C# Class Longkong.WinFormsUI.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: IMessageFilter
Afficher le fichier Open project: Longkong/Pojjaman

Private Properties

Свойство Type Description
AssignHandle void
CallWindowProc System.IntPtr
EndDrag void
IMessageFilter bool
ReleaseHandle void
SetWindowLong System.IntPtr
SetWindowLong System.IntPtr
WndProc System.IntPtr

Méthodes publiques

Méthode Description
DragHandlerBase ( ) : System

Méthodes protégées

Méthode Description
BeginDrag ( Control c ) : bool
OnDragging ( ) : void
OnEndDrag ( bool abort ) : void
OnPreFilterMessage ( Message &m ) : bool

Private Methods

Méthode Description
AssignHandle ( IntPtr hWnd ) : void
CallWindowProc ( IntPtr prevWndFunc, IntPtr hWnd, int iMsg, IntPtr wParam, IntPtr lParam ) : IntPtr
EndDrag ( bool abort ) : void
IMessageFilter ( Message &m ) : bool
ReleaseHandle ( ) : void
SetWindowLong ( IntPtr hWnd, int nIndex, IntPtr wndFunc ) : IntPtr
SetWindowLong ( IntPtr hWnd, int nIndex, WndProcCallBack wndProcCallBack ) : IntPtr
WndProc ( IntPtr hWnd, int iMsg, IntPtr wParam, IntPtr lParam ) : IntPtr

Method Details

BeginDrag() protected méthode

protected BeginDrag ( Control c ) : bool
c System.Windows.Forms.Control
Résultat bool

DragHandlerBase() public méthode

public DragHandlerBase ( ) : System
Résultat System

OnDragging() protected méthode

protected OnDragging ( ) : void
Résultat void

OnEndDrag() protected méthode

protected OnEndDrag ( bool abort ) : void
abort bool
Résultat void

OnPreFilterMessage() protected méthode

protected OnPreFilterMessage ( Message &m ) : bool
m System.Windows.Forms.Message
Résultat bool