Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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