Click to See Complete Forum and Search --> : drag and drop


jakapun
May 10th, 1999, 07:16 AM
My program is richeditview(editor) create from mfcappwizard in visual c++ 6.0.
I need my program can drag and drop.
When i drag file(*.txt) from explorer drop in my program
become is ICON can't open now.
Please help me urgent.
Thankyou very much.

BrianOG
May 10th, 1999, 07:26 AM
Not sure what the story with a richedit control is, but with other controls, you can add the WS_EX_ACCEPTFILES style (either in the resource editor or the Create command) and then handle the WM_DROPFILES window message.