Drag and Drop into RichEdit control
- Posted by Craig Welch <euphoriah at cwelc?.org> Jul 13, 2007
- 625 views
I have a window with several Mle controls, and one RichEdit control. Drag and Drop works fine with the Mle controls, but not the RichEdit. It's not even seeing the event. I've specifically set the WS_EX_ACCEPTFILE flag for this control, to no avail. MSDN tells me that RichEdit controls *can* accept Drag and Drop. As a workaround, I've set a Drag and Drop handler for the -window-, which reads the file and puts the data into the Richedit control. But longer term that's not optimum, as there will be different RichEdit controls in different tabs. Appreciate any thoughts ... -- Craig