CFileDialog::OnLBSelChangedNotify
Visual Studio 2010
This function is called whenever the current selection in a list box is about to change.
virtual void OnLBSelChangedNotify( UINT nIDBox, UINT iCurSel, UINT nCode );