Export (0) Print
Expand All

SetCursor method

Called by MSHTML during mouseover events on the element to which the behavior is attached to enable the behavior to change the insertion point icon.

Syntax


HRESULT retVal = object.SetCursor(lPartID);

Parameters

lPartID [in]

Type: LONG

LONG that specifies the plPartID number that was passed to MSHTML by IHTMLPainter::HitTestPoint.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method is called only if IHTMLPainterEventInfo::GetEventInfoFlags passes MSHTML the HTMLPAINT_EVENT_SETCURSOR flag.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft