Partilhar via


CFileDialog::SetSelectedControlItem

Sets the selected state of a particular item in an option button group or a combo box found in the dialog.

HRESULT SetSelectedControlItem(
   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