I played with controls on a window (no dialog). For example an edit control
with CreateEdit() and everything works fine.
I'd like to use a combobox control. Getting it with dialog is no problem.
But I could not create a combobox on a window.
With the following code I got an error by CreateWindow
Hi Greg,
that did exactly what I want!
Thank you very much.
Cheers
Manfred
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
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
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] -5