Share via


CStockPropImpl::put_AutoSize

Call this method to set the value of flag that indicates if the control cannot be any other size.

HRESULT STDMETHODCALLTYPE put_AutoSize( 
   VARIANT_BOOL bAutoSize, 
);

Parameters

  • bAutoSize
    TRUE if the control cannot be any other size.

Return Value

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

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::get_AutoSize