Share via


CStockPropImpl::put_DrawStyle

Call this method to set the control's drawing style, for example, solid, dashed, or dotted.

HRESULT STDMETHODCALLTYPE put_DrawStyle( 
   LONG pnDrawStyle 
);

Parameters

  • nDrawStyle
    The new drawing style for 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_DrawStyle