AdvancedLauncher.Tools.Interop.RedirectedHwndHost.BuildWindowCore C# (CSharp) Method

BuildWindowCore() protected method

Creates the hosted child window.
Derived types override the BuildWindowCore virtual method to create the child window. The child window is parented to a seperate top-level window for the purposes of redirection. The SafeWindowHandle type controls the lifetime of the child window. It will be disposed when the RedirectedHwndHost is disposed, or when the SafeWindowHandle is finalized. Set the SafeWindowHandle.DestroyWindowOnRelease property to true if you want the window destroyed automatically.
protected BuildWindowCore ( HWND hwndParent ) : HWND
hwndParent AdvancedLauncher.Tools.Win32.User32.HWND
return AdvancedLauncher.Tools.Win32.User32.HWND
        protected virtual HWND BuildWindowCore(HWND hwndParent)
        {
            StrongHWND hwndChild = StrongHWND.CreateWindowEx(
                0,
                "STATIC",
                "Default RedirectedHwndHost Window",
                WS.CHILD | WS.CLIPSIBLINGS | WS.CLIPCHILDREN,
                0,
                0,
                0,
                0,
                hwndParent,
                IntPtr.Zero,
                IntPtr.Zero,
                IntPtr.Zero);

            return hwndChild;
        }