I have created a browser using the Web Browser control. Often when you click a link or a button on a web page, a new smaller browser window opens up. An idea example is the Manage Attachments button in this forum on the page where users type their questions.
What I find is though the new window opens up in my browser, the size of the Form remains as it is & the browser occupies just a part of the Form leaving the remaining part of the Form naked. Have a look at the attached browser image which opens up when the Manage Attachments button in this forum is clicked. Note the huge grey area on the right-hand side. Since the new browser window doesn't cover the entire Form, the grey area of the Form remains as it is.
How do I overcome this & ensure that when a smaller new browser window opens, the Form adjusts its dimensions according to the dimensions of the Web Browser control?




ARPAN
Reply With Quote