AdvancedLauncher.Tools.Interop.HwndHostEx.BuildWindowCore C# (CSharp) 메소드

BuildWindowCore() 보호된 최종 메소드

protected final BuildWindowCore ( HandleRef hwndParent ) : HandleRef
hwndParent System.Runtime.InteropServices.HandleRef
리턴 System.Runtime.InteropServices.HandleRef
        protected override sealed HandleRef BuildWindowCore(HandleRef hwndParent)
        {
            HWND hwndParent2 = new HWND(hwndParent.Handle);
            _hwndChild = BuildWindowOverride(hwndParent2);

            // Ideally, the window would have been created with the expected
            // parent.  But just in case, we set it explicitly.
            NativeMethods.SetParent(_hwndChild, hwndParent2);

            return new HandleRef(this, _hwndChild.DangerousGetHandle());
        }