I'm trying to add a WebBrowser object into a ToolStripDropDownButton's drop-down. When I first click the button the drop-down shows at screen position 0,0. On subsequent clicks of the button the drop-down shows underneath the button like it should. Any idea on how to get the drop-down to show properly on the first click?
Dim browser As New WebBrowser browser.Url = New Uri("http://localhost/test.html") Dim host As New ToolStripControlHost(browser) Dim dropDown As New ToolStripDropDown dropDown.Items.Add(host) ToolStripDropDownButton1.DropDown = dropDown