Freigeben über


CFileDialog::GetControlState

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

HRESULT GetControlState(
   DWORD dwIDCtl,
   CDCONTROLSTATEF& dwState
);

Parameters

  • dwIDCtl
    The ID of the control.

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

Requirements

Header: afxdlgs.h

See Also

Reference

CFileDialog Class