共用方式為


CFileDialog::GetSelectedControlItem

Retrieves a particular item from the specified container control in the dialog.

HRESULT GetSelectedControlItem(
   DWORD dwIDCtl,
   DWORD& dwIDItem
);

Parameters

  • dwIDCtl
    The ID of the container control.

  • dwIDItem
    The ID of the item that the user selected in the control.

Requirements

Header: afxdlgs.h

See Also

Reference

CFileDialog Class