Condividi tramite


CStockPropImpl::putref_MouseIcon

Call this method to set the picture properties of the graphic (icon, bitmap, or metafile) to be displayed when the mouse is over the control, with a reference count.

HRESULT STDMETHODCALLTYPE putref_MouseIcon( 
   IPictureDisp* pPicture  
);

Parameters

  • pPicture
    A pointer to the picture properties of the graphic.

Return Value

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

Remarks

The same as CStockPropImpl::put_MouseIcon, but with a reference count.

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::put_MouseIcon