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

Robin Dunn robin at alldunn.com
Thu Nov 1 17:11:34 PDT 2007


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


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list