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) |
| HRESULT IRsDaDTarget::AllowHighLightDropArea | ( | [in] RtBool | bHighLight | ) |
Notify drop target that it can or cannot highlight drop area.
| bHighLight | [In] Flag to highlight drop area. |
Error code otherwise.
| HRESULT IRsDaDTarget::HighLightDropArea | ( | [in] POINT | pntCursor | ) |
This method highlights area under cursor during drag & drop.
| pntCursor | [In] Cursor position in screen coordinates. |
Error code otherwise.
| HRESULT IRsDaDTarget::CanAcceptObject | ( | [in] POINT | pntCursor, | |
| [in] RtUlong | ulKey, | |||
| [in] VARIANT | vVal | |||
| ) |
This method checks if target can accept object.
| pntCursor | [In] Cursor position in screen coordinates. | |
| vVal | [Out] Pointer to dragged object. |
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.
| pntCursor | [In] Cursor position in screen coordinates. | |
| vVal | [Out] Pointer to dropped object. |
Error code otherwise.
1.5.5