Example #1
0
        private void WindowResized(ref CallWndProcReturnMessage msg)
        {
            WindowFilter filter;

            if (!_windows.TryGetValue(msg.HWnd, out filter))
                return;

            if (filter != null)
                filter.ResizeWindow(this, msg.HWnd);
        }
Example #2
0
        private void WindowDestroyed(ref CallWndProcReturnMessage msg)
        {
            WindowFilter filter;

            if (_windows.TryGetValue(msg.HWnd, out filter))
            {
                if (filter != null)
                    filter.DetachWindow(this, msg.HWnd);

                RegisterWindow(new WindowLog(false, msg.HWnd, null));
            }
        }