CFileDialog how to select file
-
Hi all, I need to select only exact file from directory. For example file.ttt. I am trying the following:
CFileDialog fileDialog( TRUE, NULL, "file.ttt", NULL, "file.ttt" );
But there is no visible files. Please help me to resolve the problem.:(CFileDialog fileDialog( TRUE, NULL, "file.ttt", NULL, "All files(*.ttt)\0*.ttt\0" );
WhiteSky
-
Hi all, I need to select only exact file from directory. For example file.ttt. I am trying the following:
CFileDialog fileDialog( TRUE, NULL, "file.ttt", NULL, "file.ttt" );
But there is no visible files. Please help me to resolve the problem.:(Romiks wrote:
But there is no visible files.
Does
file.ttt
exist in the folder that is initially opened?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
Hi all, I need to select only exact file from directory. For example file.ttt. I am trying the following:
CFileDialog fileDialog( TRUE, NULL, "file.ttt", NULL, "file.ttt" );
But there is no visible files. Please help me to resolve the problem.:(