CStockPropImpl::put_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.

HRESULT STDMETHODCALLTYPE put_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.

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::get_MouseIcon

CStockPropImpl::putref_MouseIcon