wx.FileDialog Help

Actually, on Windows, there is a well-defined callback scheme that allows you to modify virtually anything in the common dialogs, including the addition of your own custom controls.

Of course, that's all native API stuff, so it would involve a fair amount of wxWidgets plumbing before it could be exposed. A sufficiently motivated person might be able to use the Win32 extensions to do this.

···

On Thu, 30 Sep 2004 10:31:11 -0700, Robin Dunn <robin@alldunn.com> wrote:

The common dialogs on windows (and some of them on other platforms too) are just wrappers around a platform API function and so we are limited to what they can offer via the funciton interface. For wx.FileDialog we are limited to a wx.OPEN or wx.SAVE style, you can't modify the look or behaviour beyond that.

--
- Tim Roberts, timr@probo.com
  Providenza & Boekelheide, Inc.

I've had good experiences doing this kind of thing with the ctypes
module, as well. The downside is that it might be a bit tough to use
both wxWindows and the callback mechanism; you might end up just going
straight to Windows via ctypes.

···

On Fri, Oct 01, 2004 at 08:51:34AM -0700, Tim Roberts wrote:

Of course, that's all native API stuff, so it would involve a fair
amount of wxWidgets plumbing before it could be exposed. A sufficiently
motivated person might be able to use the Win32 extensions to do this.

--
Tim Lesher <tim@lesher.ws>
http://www.lesher.ws