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

Lynn Oliver raycores at gmail.com
Fri Jul 15 19:53:49 CEST 2011


Hi Michael,

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

-Lynn

On Jul 15, 2011, at 10:36 AM, Michael Lange wrote:

> Hi Lynn,
> 
> Thus spoketh Lynn Oliver <raycores at gmail.com> 
> unto us on Tue, 12 Jul 2011 12:34:21 -0700:
> 
>> Using Python versions 2.6.6 or 2.7.1, the tkFileDialog.askdirectory()
>> dialog box is resizable in OS X but not on WinXP or Win7.
>> tkFileDialog.askopenfilename() is resizable in both environments.
>> 
>> Is there a way to work around this?
>> 
> 
> I think on windows tk uses native dialogs, so I don't think there is a
> way to change this.
> 
> Regards
> 
> Michael
> 
> 
> 
> .-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.
> 
> A father doesn't destroy his children.
> 		-- Lt. Carolyn Palamas, "Who Mourns for Adonais?",
> 		   stardate 3468.1.
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss



More information about the Tkinter-discuss mailing list