Compartilhar via


CFileDialog::SetControlItemState

Sets the current state of an item in a container control found in the dialog.

HRESULT SetControlItemState(
   DWORD dwIDCtl,
   DWORD dwIDItem,
   CDCONTROLSTATEF dwState
);

Parameters

  • dwIDCtl
    The ID of the container control.

  • dwIDItem
    The ID of the item.

  • dwState
    One or more values from the CDCONTROLSTATE enumeration that indicate the new state of the control.

Requirements

Header: afxdlgs.h

See Also

Reference

CFileDialog Class