# File Drag and Drop

> Handle WM_DROPFILES by subclassing: load or insert dropped files at the drop point with InputPosFromPoint and Load, and insert images with ObjectInsertAsChar.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > Document Editor > File Drag and Drop
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/drag-drop/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/drag-drop/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/drag-drop/llms-full.txt

---

## On This Page

- [How File Drop Works](https://docs.textcontrol.com/tx-text-control-activex/document-editor/drag-drop/#how-file-drop-works)
- [Handle the Dropped Files](https://docs.textcontrol.com/tx-text-control-activex/document-editor/drag-drop/#handle-the-dropped-files)
- [Determine the File Type](https://docs.textcontrol.com/tx-text-control-activex/document-editor/drag-drop/#determine-the-file-type)
- [Related Pages](https://docs.textcontrol.com/tx-text-control-activex/document-editor/drag-drop/#related-pages)

---

## Nearby

- **Previous:** [Working With Files](https://docs.textcontrol.com/tx-text-control-activex/document-editor/load-save/llms.txt)
- **Next:** [Document Properties](https://docs.textcontrol.com/tx-text-control-activex/document-editor/properties/llms.txt)
