CFileDialog::OnLBSelChangedNotify

virtual void OnLBSelChangedNotify( UINT nIDBox, UINT iCurSel, UINT nCode);

Parameters

nIDBox

The ID of the list box or combo box in which the selection occurred.

iCurSel

The index of the current selection.

nCode

The control notification code. This parameter must have one of the following values:

For more information, see About Common Dialog Boxes in the Win32 SDK documentation.

Remarks

This function is called whenever the current selection in a list box is about to change. Override this function to provide custom handling of selection changes in the list box. For example, you can use this function to display the access rights or date-last-modified of each file the user selects.

CFileDialog OverviewClass MembersHierarchy Chart