BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Parameters for Shell Drag&Drop

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi IDE
View previous topic :: View next topic  
Author Message
Joyce Bromfield
Guest





PostPosted: Wed Mar 01, 2006 1:03 pm    Post subject: Parameters for Shell Drag&Drop Reply with quote



Please excuse my ignorance as I am new to Delphi having only used C++
Builder before.

I am trying to use the Shell for Drag and drop functions.

I have defined a component based on both a TCustomListView and IDropSource.

I have defined the following

var
DataObject: IDataObject;
Effect: DWORD;

and am calling the DoDragDrop(LPDATAOBJECT, LPDR|OPSOURCE, DWORD, LPDWORD)
function as follows after setting up the DataObject

Effect := DROPEFFECT_NONE;
DoDragDrop(DataObject, Self, DROPEFFECT_COPY, Effect);

I get the error "Types of actual and formal var parameters must be
identical"

As far as I can make out they are identical.

I would appreciate any assistance.

TIA
Back to top
Riki Wiki
Guest





PostPosted: Sun Mar 05, 2006 3:03 am    Post subject: Re: Parameters for Shell Drag&Drop Reply with quote



On Wed, 1 Mar 2006 12:13:06 -0000, Joyce Bromfield wrote:

Quote:
I would appreciate any assistance.

Hoi Joyce

You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question, and BTW this newsgroup
do not officially exist, for your question rather use
b.p.d.language.delphi.general.

Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi IDE All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.