I have derived CMyFileDialog from CFileDialog.

visual c++ 6.0

Defining the OnFolderChange I can handle CDN_FOLDERCHANGE

void CMyFileDialog::OnFolderChange()
{
// Code to change folder
}



I can access the "look in" ComboBox (cmb2) and the list box that displays
the contents of the current drive or folder (lst1).
http://tinyurl.com/3lwoc

How can I change the folder so that also the list box change its content?

I tried with GetCurrentDirectory(), but obviuosly it doesn't work, neither
cmb2 nor lst1 are graphically updated. Using SetCurSel on cmb2 the lst1
is not updated.

I need that both cmb2 and lst1 change.

thanks

--
Mastupristi?