[python-win32] Prevent a (Tkinter) window from maximizing via win32 api call?

2010-12-02 Thread python
If I have a windows handle to my Tkinter window, is there a win32 api call that I can use that will prevent my window from being maximized? There is no way to prevent a resizable window from being maximized in Tkinter other than to remove the window's border and titlebar (both of which I would

Re: [python-win32] Prevent a (Tkinter) window from maximizing via win32 api call?

2010-12-02 Thread Eric Brunel
On 2 déc. 10, at 12:49, pyt...@bdurham.com wrote: If I have a windows handle to my Tkinter window, is there a win32 api call that I can use that will prevent my window from being maximized? There is no way to prevent a resizable window from being maximized in Tkinter other than to remove

Re: [python-win32] Prevent a (Tkinter) window from maximizing via win32 api call?

2010-12-02 Thread Greg Ewing
pyt...@bdurham.com wrote: I have a *resizable* Tkinter window with min and max sizes set. I want to prevent users from attempting to maximize this window because the window pops over to the upper left of the display - a behavior that my users find very frustrating (and of little value). If