Link to home
Start Free TrialLog in
Avatar of jper_hm
jper_hmFlag for Singapore

asked on

How to retain long file names in Win98 with CComboBox::Dir ?

Hi experts,

I have a Ccombo Box which when pulled down will show the filenames with .txt extension. I use the following instructions and they work well on Win2000 and WinXP. However, running on Win98SE, I see the filenames become 8.3 format. I am using Microsoft Visual C++ 6.0.

m_cFileNames.ResetContent();
m_cPortfolios.Dir(DDL_READWRITE, _T("*.txt"));

What am I missing? What should I do to make the filenames show the full name in Win98.

Thanks,
jper
ASKER CERTIFIED SOLUTION
Avatar of Amritpal Singh
Amritpal Singh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jper_hm

ASKER

Thank You. This approach solves the problem.

Regards,
jper
n e time
most welcome