Is it possible to create a MDI child that's not sizeable ?
When I set the borderstyle property to Fixed Single, VB changes this run-time to sizeable (try it !). So I came up with this solution:
lResult = GetWindowLong(Me.hWnd, GWL_STYLE)
NwLong = lResult - WS_THICKFRAME
lResult = SetWindowLong(Me.hWnd, GWL_STYLE, NwLong)
(Be sure to make a child window with borderstyle 2 -sizeable !)
This works, but the window redraw rect misses about one pixel, so you get garbage on a small line of the window.
Try this code and resize the MDI Parent from small to large etc. then you'll see the garbage.