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 the window's border and titlebar
(both of which I would like to keep).
Are you sure about that? I just tried:
from Tkinter import *
root = Tk()
root.wm_resizable(False, False)
and it disables the maximize button. I'm on a Mac though, not sure it
works on Windows…
Thank you,
Malcolm
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32