CStockPropImpl::get_DrawMode

Call this method to get the control's drawing mode, for example, XOR Pen or Invert Colors.

HRESULT STDMETHODCALLTYPE get_DrawMode( 
   LONG * pnDrawMode 
);

Parameters

  • pnDrawMode
    Variable that receives the control's drawing mode.

Return Value

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

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::put_DrawMode