ACAT.Extensions.Default.UI.Dialogs.ScreenLockForm.HandleWndProc C# (CSharp) Method

HandleWndProc() private method

private HandleWndProc ( Message m ) : bool
m Message
return bool
        public bool HandleWndProc(Message m)
        {
            const int WM_MOUSEACTIVATE = 0x21;

            if (m.Msg == WM_MOUSEACTIVATE)
            {
                if (_animationManager != null)
                {
                    Invoke(new MethodInvoker(delegate()
                    {
                        if (_animationManager.GetPlayerState() == PlayerState.Timeout)
                        {
                            _animationManager.Resume();
                        }
                    }));
                }
            }

            return false;
        }