Blue.Windows.StickyWindow.DefaultMsgProcessor C# (CSharp) Метод

DefaultMsgProcessor() приватный Метод

Processes messages during normal operations (while the form is not resized or moved)
private DefaultMsgProcessor ( Message &m ) : bool
m System.Windows.Forms.Message
Результат bool
        private bool DefaultMsgProcessor( ref Message m )
        {
            switch ( m.Msg )
            {
                case Win32.WM.WM_NCLBUTTONDOWN:
                {
                    originalForm.Activate();
                    mousePoint.X = (short)Win32.Bit.LoWord ( (int)m.LParam );
                    mousePoint.Y = (short)Win32.Bit.HiWord ( (int)m.LParam );
                    if ( OnNCLButtonDown( (int)m.WParam, mousePoint ) )
                    {
                        //m.Result = new IntPtr ( (resizingForm || movingForm) ? 1 : 0 );
                        m.Result = (IntPtr)( (resizingForm || movingForm) ? 1 : 0 );
                        return true;
                    }
                    break;
                }
            }

            return false;
        }