Share via


CStockPropImpl::get_DrawWidth

Call this method to get the drawing width (in pixels) used by the control's drawing methods.

HRESULT STDMETHODCALLTYPE get_DrawWidth( 
   LONG * pnDrawWidth 
);

Parameters

  • pnDrawWidth
    Variable that receives the control's width value, in pixels.

Return Value

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

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::put_DrawWidth