Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFileDialog with multiselection

Status
Not open for further replies.

stephd

Programmer
Nov 22, 2002
22
0
0
FR
I've a little problem :

i have a CFileDialog to allow the user to select one or more file on his hard disk. But when i select too much files in the dialog, the names of the files are corrupted and so invalid...

Has anybody ever heard of such problem and if yes how to solve it ?

thanks

Stephd

ps : the CFileDialog is created as follow :

CFileDialog * pDlg = new CFileDialog(TRUE,NULL,NULL,OFN_ALLOWMULTISELECT | OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST,"Images internet |*.jpg; *.jpeg; *.gif|Fichiers de sauvegarde image HTML (*.ihi) |*.ihi;|Tous les fichiers |*.*||");

 
thanks for your answer.

And is there any solution ?
i think so because when i do the same thing with any other software (Visual studio for example), it seems to works...

so do i need to do my own class for that ?

Stephd
 
ok, i'll do my own class ;-)

many thanks

S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top