AdvancedLauncher.Tools.Interop.HwndHostEx.BuildWindowOverride C# (CSharp) Method

BuildWindowOverride() protected method

Default implementation of BuildWindowOverride, which just creates a simple "STATIC" HWND. This is almost certainly not the desired window, but at least something shows up on the screen. Override this method in your derived class and build the window you want.
protected BuildWindowOverride ( HWND hwndParent ) : HWND
hwndParent AdvancedLauncher.Tools.Win32.User32.HWND
return AdvancedLauncher.Tools.Win32.User32.HWND
        protected virtual HWND BuildWindowOverride(HWND hwndParent)
        {
            return NativeMethods.CreateWindowEx(
                0,
                "STATIC",
                "Default HwndHostEx Window",
                WS.CHILD | WS.CLIPSIBLINGS | WS.CLIPCHILDREN,
                0,
                0,
                0,
                0,
                hwndParent,
                IntPtr.Zero,
                IntPtr.Zero,
                IntPtr.Zero);
        }