static extern IntPtr CreateWindowEx(
     int ExStyle,
     string ClassName,
     string WindowName,
     int Style,
     int X,
     int Y,
     int Width,
     int Height,
     HandleRef Parent,
     IntPtr Menu,
     IntPtr ModuleInstance,
     ref CLIENTCREATESTRUCT CreateParam);
        protected override HandleRef BuildWindowCore(HandleRef hwndParent)
        {
            CLIENTCREATESTRUCT ccs = new CLIENTCREATESTRUCT();

            ccs.hWindowMenu  = IntPtr.Zero; // Hopefully this is not needed!
            ccs.idFirstChild = 0;

            IntPtr hwnd = CreateWindowEx(
                ExStyle: 0,
                ClassName: "MDICLIENT",
                WindowName: "ClassicMdiClient",
                Style: WS_CHILD | WS_CLIPSIBLINGS | WS_CLIPCHILDREN,
                X: 0,
                Y: 0,
                Width: 0,
                Height: 0,
                Parent: hwndParent,
                Menu: IntPtr.Zero,
                ModuleInstance: IntPtr.Zero,
                CreateParam: ref ccs);

            return(new HandleRef(this, hwnd));
        }