CStockPropImpl::put_DrawWidth

调用此方法将控件的绘制方法(以像素为单位)使用的宽度。

HRESULT STDMETHODCALLTYPE put_DrawWidth(
   LONG nDrawWidth
);

参数

  • nDrawWidth
    控件的绘制方法将使用新的宽度。

返回值

返回在成功的S_OK或在失败时错误HRESULT。

要求

Header: atlctl.h

请参见

参考

CStockPropImpl选件类

CStockPropImpl::get_DrawWidth