Handle WM_SIZE message, manually resize the control to fit.
--
With best wishes,
Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken
Quote:
> I have a dialog box that has the minimize and maximize
> buttons. My dialog box has a web browser activeX
> control. The dialog box starts up with the defualt size
> and the web browser control fits that box perfectly, but
> once I maximize the dialog box, the window maximizes but
> the control does not. Is there away to do it so that if I
> maximize the window I maximize everything in it?