PostMessage(browser->GetWindowHandle(), WM_CLOSE, 0, 0);
Keep in mind, though, that the actual underlying memory for the browser window will not be released until all references to the browser are released.
Users browsing this forum: Google [Bot] and 46 guests