Share via


CStockPropImpl::put_Appearance

Call this method to set the paint style used by the control, for example, flat or 3D.

HRESULT STDMETHODCALLTYPE put_Appearance( 
   SHORT nAppearance 
);

Parameters

  • nAppearance
    The new paint style to be used by 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_Appearance