public void CreateHandle(CreateParamsEx cp) { this.AssignHandle(CreateWindowEx(cp.ExStyle, cp.ClassName, cp.Caption, cp.Style, cp.X, cp.Y, cp.Width, cp.Height, cp.Parent, IntPtr.Zero, cp.hInstance, (IntPtr)cp.Param)); }