Compartilhar via


CFileDialog::GetControlItemState

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

HRESULT GetControlItemState(
   DWORD dwIDCtl,
   DWORD dwIDItem,
   CDCONTROLSTATEF& dwState
);

Parameters

  • dwIDCtl
    The ID of the container control.

  • dwIDItem
    The ID of the item.

  • dwState
    A reference to a variable that receives one of more values from the CDCONTROLSTATE enumeration that indicates the current state of the control.

Requirements

Header: afxdlgs.h

See Also

Reference

CFileDialog Class