[Tkinter-discuss] tkFileDialog.askdirectory() not resizable in Windows

Michael Lange klappnase at web.de
Fri Jul 15 20:33:01 CEST 2011


Hi Lynn,

Thus spoketh Lynn Oliver <raycores at gmail.com> 
unto us on Fri, 15 Jul 2011 10:53:49 -0700:

> Hi Michael,
> 
> On windows if you set BIF_USENEWUI (0x0040) when calling
> SHBrowseForFolder() it will use the resizable dialog box.

Oh, I am afraid I don't know anything about this :(
Seems like it is something tk doesn't do by default though.
A quick web search showed up this result:

http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/dbbbea1cb1ebb693/660b4ea4b471dce0?lnk=gst&q=BIF_USENEWUI+#660b4ea4b471dce0

So it seems like this is something that must be compiled into tcl / tk .

>From reading this thread the good news seem to be that latest tk releases
seem to already do this, so if you can get a recent tcl/tk working with
your python install there may be hope for you ;)

Regards

Michael



.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

There's a way out of any cage.
		-- Captain Christopher Pike, "The Menagerie" ("The Cage"),
		   stardate unknown.


More information about the Tkinter-discuss mailing list