Export (0) Print
Expand All

dragDrop method

[This documentation is preliminary and is subject to change.]

Initiates a drag event.

Syntax


HRESULT retVal = object.dragDrop();

Standards information

There are no standards that apply here.

Parameters

pfRet [out, retval]

Type: VARIANT_BOOL

Pointer to a VARIANT_BOOL that receives one of the following values:

VARIANT_TRUE (true)

Drag operation was completed successfully.

VARIANT_FALSE (false)

Drag operation was canceled.

Return value

Type: HRESULT

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

Remarks

You can use this method to fire the HTMLFrameSiteEvents::ondragstart event. If the event is not canceled, a drag operation is started. The method returns VARIANT_TRUE when the mouse is released. If the HTMLFrameSiteEvents::ondragstart event is canceled, the method returns VARIANT_FALSE immediately.

 

 

Build date: 6/6/2012

Community Additions

Show:
© 2014 Microsoft