Condividi tramite


CStockPropImpl::put_DrawMode

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

HRESULT STDMETHODCALLTYPE put_DrawMode( 
   LONG nDrawMode 
);

Parameters

  • nDrawMode
    The new drawing mode 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_DrawMode