Trying to create a new folder using a CFileDialog
I use the CFileDialog class this way :
CFileDialog dlgOpenFile( TRUE, "*.xxx", NULL, OFN_FILEMUSTEXIST, "My files (*.xxx)|*.xxx||", NULL);
dlgOpenFile.DoModal();
I actually get an open file dialog box which looks and works OK (file extension, read-only check-box, ...). My only problem is that when I use the icon which lets the user create a new folder, I CAN'T SEE THE NAME I'M TYPING for the new folder (I see its icon though). The name of the folder appears only when I validate it by pressing Enter. Is it a bug of CFileDialog or do I have forgotten something that would make it work ?
Thanks for your help.
Re: Trying to create a new folder using a CFileDialog
I try your code and it works fine ...
I have the 2 patchs for Visual C+++ 6.0 .... Maybe it comes from there ????
Re: Trying to create a new folder using a CFileDialog
Thanks for you help. In fact, I use Visual C++ 5.0 with Windows NT 4.0 (Service Pack 4).