Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the drop target for the text control.
Syntax
HRESULT TxGetDropTarget(
IDropTarget **ppDropTarget
);
Parameters
ppDropTarget
Type: IDropTarget**
The target of a drag-and-drop operation in a specified window.
Return value
Type: HRESULT
If the method got the drop target successfully, the return value is S_OK.
For more information on COM error codes, see Error Handling in COM.
Return code | Description |
---|---|
|
Could not create the drop target. |
Remarks
The host (caller) is responsible for calling RegisterDragDrop or RevokeDragDrop, and for calling Release on the returned drop target when done.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | textserv.h |
DLL | Msftedit.dll |
See also
Conceptual
Other Resources