IRsDaDTarget Interface Reference

Inherits IUnknown.

List of all members.

Public Member Functions

Methods
HRESULT AllowHighLightDropArea ([in] RtBool bHighLight)
HRESULT HighLightDropArea ([in] POINT pntCursor)
HRESULT CanAcceptObject ([in] POINT pntCursor,[in] RtUlong ulKey,[in] VARIANT vVal)
HRESULT DropObject ([in] POINT pntCursor,[in] RtUlong ulKey,[in] VARIANT vVal,[in] IRsObject *pDaDSource)


Detailed Description

Interface of Rosetta Drag & Drop Target window.
Author:
Ivan Hronec This interface declares properties and methods that allow drop object to window.

Member Function Documentation

HRESULT IRsDaDTarget::AllowHighLightDropArea ( [in] RtBool  bHighLight  ) 

Notify drop target that it can or cannot highlight drop area.

Parameters:
bHighLight [In] Flag to highlight drop area.
Returns:
S_OK when no error occured.

Error code otherwise.

HRESULT IRsDaDTarget::HighLightDropArea ( [in] POINT  pntCursor  ) 

This method highlights area under cursor during drag & drop.

Parameters:
pntCursor [In] Cursor position in screen coordinates.
Returns:
S_OK when no error occured.

Error code otherwise.

HRESULT IRsDaDTarget::CanAcceptObject ( [in] POINT  pntCursor,
[in] RtUlong  ulKey,
[in] VARIANT  vVal 
)

This method checks if target can accept object.

Parameters:
pntCursor [In] Cursor position in screen coordinates.
vVal [Out] Pointer to dragged object.
Returns:
S_OK when can accept.

S_FALSE when cannot accept.

Error code otherwise.

HRESULT IRsDaDTarget::DropObject ( [in] POINT  pntCursor,
[in] RtUlong  ulKey,
[in] VARIANT  vVal,
[in] IRsObject pDaDSource 
)

This method handles drop of dragged object.

Parameters:
pntCursor [In] Cursor position in screen coordinates.
vVal [Out] Pointer to dropped object.
Returns:
S_OK when no error occured.

Error code otherwise.


Generated on Wed May 20 21:32:21 2009 for trueSpace7.6 SDK by  doxygen 1.5.5