0 out of 9 rated this helpful - Rate this topic

dragDrop method

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

Initiates a drag event.

Syntax

object.dragDrop()

Standards information

There are no standards that apply here.

Parameters

pfRet [out, retval]
C++Pointer to a Boolean that receives one of the following values:
JavaScriptABoolean. Returns 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.

Type: BooleanABoolean. Returns one of the following values.Pointer to a Boolean that receives one of the following values:VARIANT_TRUEtrue

Drag operation was completed successfully.

VARIANT_FALSEfalse

Drag operation was canceled.

Remarks

You can use this method to fire the 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 ondragstart event is canceled, the method returns VARIANT_FALSE immediately.

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ