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.
Show: