Share via


CStockPropImpl::put_Caption

Call this method to set the text to be displayed with the control.

HRESULT STDMETHODCALLTYPE put_Caption( 
   BSTR bstrCaption 
);

Parameters

  • bstrCaption
    The text to be displayed with the control.

Return Value

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

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::get_Caption