Help with win32ui.CreateFileDialog

Richie Hindle richie at entrian.com
Fri Jul 19 06:56:41 EDT 2002


[Thomas]
> I am running into a problem with win32ui.CreateFileDialog during the
> selection of multiple files. I am successful in selecting files only up
> to a certain number.

[Mark]
> I fear the limitation is in MFC itself.

You're right.  The offending line of code is:

    TCHAR m_szFileName[_MAX_PATH]; // contains full path name after return

in afxdlgs.h.  Whoever wrote that (and didn't handle FNERR_BUFFERTOOSMALL)
wasn't thinking about multiselect.  The hoops that either MFC or win32ui
would need to jump though to make this work are detailed in Q131462, at:
http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q131462&

-- 
Richie Hindle
richie at entrian.com




More information about the Python-list mailing list