You can resize a dialog by using the /dialog -s <dname> x y w h command. As for detecting when the size of the main mIRC window has changed and the size to which it was changed, I'm not sure how that can be done. Maybe a repeating timer or a DLL could be used.

-genius_at_work