This project has moved and is read-only. For the latest updates, please go here.

[Version 2.0] LayoutFloatingWindowControl activation needs its parent window handle, why?

May 26, 2015 at 6:42 AM
why needs to check its parent window handle instead of its window handle, as shown in the following
case Win32Helper.WM_ACTIVATE:
            if (((int)wParam & 0xFFFF) == Win32Helper.WA_INACTIVE)
            {
                if (lParam == this.GetParentWindowHandle())
                {
                    Win32Helper.SetActiveWindow(_hwndSrc.Handle);
                    handled = true;
                }
            }
            break;