[wxPython-users] how to prevent maximize of a MiniFrame ??

Stef Mientki s.mientki at ru.nl
Thu Nov 1 17:25:11 PDT 2007



Robin Dunn wrote:
> Stef Mientki wrote:
>> hello,
>>
>> A MiniFrame has (default ?)  only a close button,
>> no maximize / normalize button.
>> But under windows it's still possible to maximize it,
>> by doubleclicking the caption of the form.
>> But then there is huge problem, it can't be resized anymore :-(
>>
>> How can I prevent maximize ?
>>  or
>> How can I prevent the problems ;-)
>
> Try giving it a max size with SetSizeHints
thanks Robin,
that works partial:
the size indeed is limited, ...
... but the window can't be resized anymore :-(

cheers,
Stef





More information about the wxpython-users mailing list