The menu's go to the parent form by default, I'm not sure how to fix that, never needed to.. I'll look into it though. But the sizing can be done when the form is loaded eg.
Private Sub MdiForm1_Load()
Form1.Width = 123
Form1.Height = 1234
End Sub
That's given that the form loads on mdiform load, otherwise use it in the control you're using to load it.
Please use the search function prior to posting a question and see if someone's already answered it.
-If I helped you, please rate me, as I'd do the same for you =)
-Remember to select the Resolved option for your post when you've gotten the answers you need.
the forms are resizing and not showing up as there original size...
Change the form's BorderStyle property to "Fixed Single".
Originally Posted by psychotomus
...and the menu's are not showing up on the forms but the MDIForm
This is default behavior for a MDIForm. If you want to change that, do a search for "MDI negotiate menus". Any solution is going to require some sort of workaround.
still can't figure out how to add menu's to MDI Childs. I really need them -_-
You can't actually do it with a MDIchild but you can fake it. In this example Form1 is a normal form,
Code:
Option Explicit
Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
Private Sub MDIForm_Load()
SetParent Form1.hWnd, MDIForm1.hWnd
Form1.Show
End Sub