C# 클래스 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.
상속: IMessageFilter
파일 보기 프로젝트 열기: Longkong/Pojjaman

Private Properties

프로퍼티 타입 설명
AssignHandle void
CallWindowProc System.IntPtr
EndDrag void
IMessageFilter bool
ReleaseHandle void
SetWindowLong System.IntPtr
SetWindowLong System.IntPtr
WndProc System.IntPtr

공개 메소드들

메소드 설명
DragHandlerBase ( ) : System

보호된 메소드들

메소드 설명
BeginDrag ( Control c ) : bool
OnDragging ( ) : void
OnEndDrag ( bool abort ) : void
OnPreFilterMessage ( Message &m ) : bool

비공개 메소드들

메소드 설명
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

메소드 상세

BeginDrag() 보호된 메소드

protected BeginDrag ( Control c ) : bool
c System.Windows.Forms.Control
리턴 bool

DragHandlerBase() 공개 메소드

public DragHandlerBase ( ) : System
리턴 System

OnDragging() 보호된 메소드

protected OnDragging ( ) : void
리턴 void

OnEndDrag() 보호된 메소드

protected OnEndDrag ( bool abort ) : void
abort bool
리턴 void

OnPreFilterMessage() 보호된 메소드

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