Compartilhar via


CDCONTROLSTATE enumeration

Specifies the values that indicate whether a control is visible and enabled. Used by members of the IFileDialogCustomize interface.

Syntax

typedef enum CDCONTROLSTATE { 
  CDCS_INACTIVE        = 0x00000000,
  CDCS_ENABLED         = 0x00000001,
  CDCS_VISIBLE         = 0x00000002,
  CDCS_ENABLEDVISIBLE  = 0x00000003
} CDCONTROLSTATE;

Constants

  • CDCS_INACTIVE
    The control is inactive and cannot be accessed by the user.

  • CDCS_ENABLED
    The control is active.

  • CDCS_VISIBLE
    The control is visible. The absence of this value indicates that the control is hidden.

  • CDCS_ENABLEDVISIBLE
    Windows 7 and later. The control is visible and enabled.

Requirements

Minimum supported client

Windows Vista, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl