Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 May : DragAcceptFiles

www.cryer.info
Managed Newsgroup Archive

DragAcceptFiles

Subject:DragAcceptFiles
Posted by:"Graham Powell" (grah..@deephaven.co.uk)
Date:Fri, 25 May 2007 13:39:37

Using D2007, I have an MDIForm with two MDIChild forms.
MDIChild-1 has a Panel and a StringGrid.
MDIChild-2 has a Panel and an Edit

In the FormCreate events of each MDIChild I have:

DragAcceptFiles (Handle, true);

When I drag over MDIChild-1 I do not get the Drag Accept cursor when I hover
over the StringGrid. Anywhere else on this form is OK.

When I drag over MDIChild-2 I do not get the Drag Accept cursor when I hover
over any of it.

Is there anything I could have on these forms that could prevent them from
accepting a file Drag&Drop?

Any Help Appreciated.
Graham

Replies:

www.cryer.info
Managed Newsgroup Archive