src/Lurker/Helpers/DockingHelper.cs
/// <summary>
/// Whens the window move starts or ends.
/// </summary>
/// <param name="hWinEventHook">The h win event hook.</param>
/// <param name="eventType">Type of the event.</param>
/// <param name="hwnd">The HWND.</param>
/// <param name="idObject">The identifier object.</param>
/// <param name="idChild">The identifier child.</param>
/// <param name="dwEventThread">The dw event thread.</param>
/// <param name="dwmsEventTime">The DWMS event time.</param>
Whens the window move starts or ends.
Whens the window move starts or ends .
private void WhenWindowMoveStartsOrEnds(IntPtr hWinEventHook, uint eventType, IntPtr hwnd, int idObject, int idChild, uint dwEventThread, uint dwmsEventTime)
        {
            if (this._windowHandle != hwnd)
            {
                return;
            }
            switch (eventType)
            {
                case MoveEnd:
                    this.InvokeWindowMove();
                    break;
                case GainMouseCapture:
                    this.Invoke(this.OnMouseCapture);
                    break;
                case LostMouseCapture:
                    this.Invoke(this.OnLostMouseCapture);
                    break;
            }
        }
private void WhenWindowMoveStartsOrEnds ( IntPtr hWinEventHook , uint eventType , IntPtr hwnd , int idObject , int idChild , uint dwEventThread , uint dwmsEventTime ) { if ( this . _windowHandle != hwnd ) { return ; } switch ( eventType ) { case MoveEnd : this . InvokeWindowMove ( ) ; break ; case GainMouseCapture : this . Invoke ( this . OnMouseCapture ) ; break ; case LostMouseCapture : this . Invoke ( this . OnLostMouseCapture ) ; break ; } }
Whens the window move starts or ends.
Whens the window move starts or ends .
hWinEventHook
IntPtr
The h win event hook.
The h win event hook .
eventType
uint
Type of the event.
Type of the event .
hwnd
IntPtr
None
idObject
int
The identifier object.
The identifier object .
idChild
int
The identifier child.
The identifier child .
dwEventThread
uint
The dw event thread.
The dw event thread .
dwmsEventTime
uint
The DWMS event time.
The DWMS event time .