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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual C++ OPENFILENAME

Status
Not open for further replies.

CasperTheGhost

Programmer
Mar 21, 2002
8
US
I use the Common Dialogs through my .dll interface to Comdlg32.dll (I actually use PowerBuilder as my main GUI tool, hence the .dll). My problem lies when I use the OFN_MULTISELECT flag. Example: Choose at least two files for the Open Dialog and the FIRST chosen file becomes second in the OFN.lpstrFile string and so on. It comes out in reverse order of files chosen. What's up with that? It seems that the second chosen file would simply be concatenated at the end of the string, that way the order of the files chosen would be correct. Any help would be appreciated.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top