Beispiel #1
0
        protected override void WndProc(ref Message m)
        {
            _shellHook?.ProcessWindowMessage(ref m);
            _cbtHook?.ProcessWindowMessage(ref m);
            _getMsgHook?.ProcessWindowMessage(ref m);

            base.WndProc(ref m);
        }
Beispiel #2
0
        protected override void WndProc(ref Message m)
        {
            if (_shellHook != null)
            {
                _shellHook.ProcessWindowMessage(ref m);
            }

            if (_cbtHook != null)
            {
                _cbtHook.ProcessWindowMessage(ref m);
            }

            if (_getMsgHook != null)
            {
                _getMsgHook.ProcessWindowMessage(ref m);
            }

            base.WndProc(ref m);
        }