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

Problem using Dir function of the Listbox

Status
Not open for further replies.

firelex

Programmer
Jan 10, 2002
118
DE
Hello, all!
My problem is:
I have a ListBox that should display only directories in a certain directory. If I use
MyListBox
Code:
.Dir(CFile::directory | 0x8000, "D:\\TargetDir\\*");
it gives me the names of the directoties, but all in [] and "
Code:
[..]
" as well.

How can I get rid of those [] and "
Code:
[..]
"?

Thanx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top