|
-
May 17th, 1999, 08:03 AM
#1
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.
-
May 18th, 1999, 10:23 AM
#2
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 ????
-
May 19th, 1999, 08:17 AM
#3
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).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|