This is a way I solved it, maybe someone is interested.
class ScrollView(pywin.mfc.docview.ScrollView):
def OnInitialUpdate(self):
#...
frame = win32ui.GetMainFrame()
rect = frame.GetClientRect()
self.SetScrollSizes(win32con.MM_TEXT, (rect[2] - 18, rect[3]
I tried to fill a MDI child at start up or on open to the full size of the
enclosing frame but
self.ShowWindow(win32con.SW_SHOWMAXIMIZED)
or
self.SetWindowPlacement(placement)
did not work (self is the MDI Child PyCWnd).
Did I miss something or is it impossible?
Many thanks for