ovidiucucu: thanks for your reply

My problem is not how to position or resize a child window in a dialog box. I believe is my lack of a good understand of the interaction between the WebBrowser control itself and its window container. At this moment I'm trying to understand just an example of this site: the Mausau's Web Custom Control ( http://www.codeguru.com/cpp/controls...cle.php/c5201/ )

Unfortunately it uses a rather advanced OOP technique and the logic is a hard to understand.