I am trying to use the DlgDirList command.

This is my call (to test I will need to change dir later on)

CWnd:lgDirList("C:\\", IDC_DirTree, 0, DDL_DIRECTORY);

It will run, but nothing appears in my list box, does this need to be a TreeCtl window from the control box? Or does it matter, I have tried both ways, and neither works.

Thx,
Tony