I have a WinForms form hosted in VB6 application (I am not sure if this is significant). Sometimes form controls are layouted incorrectly (primarily Anchor property doesn't work). If I just resize a form by mouse - the form is drawn as it should. Is there any method that may solve my layout problems without manual form resizing? I tried PerformLayout, Invalidate and Refresh methods... but they don't solve my problem.
A:
You could handle the form's Layout event to layout the controls the way they should be.
Peladao
2010-08-18 08:32:05