Condividi tramite


CFileDialog::SetControlState

Sets the current visibility and enabled states of a given control.

HRESULT SetControlState(
   DWORD dwIDCtl,
   CDCONTROLSTATEF dwState
);

Parameters

  • dwIDCtl
    The ID of the control.

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

Requirements

Header: afxdlgs.h

See Also

Reference

CFileDialog Class