CStockPropImpl::put_Enabled

 

Call this method to set the value of the flag that indicates if the control is enabled.

Syntax

      HRESULT STDMETHODCALLTYPE put_Enabled(
   VARIANT_BOOL bEnabled
);

Parameters

  • bEnabled
    TRUE if the control is enabled.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Requirements

Header: atlctl.h

See Also

CStockPropImpl Class
CStockPropImpl::get_Enabled