Use Win32 API calls. You'll need FindWindow, SetParent, and HideWindow if you want to set visibility. Throw in a browser's hwnd and BOOM POW you've got yourself a centered client. Have fun getting it to resize properly though, took me a little while to figure that out.