and
If i want to drag sth from pb to explorer,how can i do this? can pb capture
where user droped out of pb ?
I hope Roland may give me some suggestion,^_^
Dragging a file out of an application, like say outlook does with
attachments, involves all kinds of low level ole magic. I haven't seen
a simple solution that can do this.
Dragging a file into an application is easy-ish
(pbm_dropfiles / http://msdn.microsoft.com/en-us/library/bb774303%28VS.85%29.aspx)
Copying and pasting files isn't too difficult, though I haven't done
it myself, this VB example should point you towards the right external
functions;
http://www.developerfusion.com/code/224/copy-files-to-clipboard/
MSDN Documentation for GetClipboardData:
http://msdn.microsoft.com/en-us/library/ms649039(VS.85).aspx
You need to do the following:
open the clipboard
call GetClipboardData to get a handle
copy the data from the handle to a local variable
close the clipboard
"lwl" <l...@esunsoft.cn> wrote in message news:4b4d8975@forums-1-dub...
"Roland Smith [TeamSybase]" <rsmith_at_trusthss_dot_com> д����Ϣ����:4b4dcb40$1@forums-1-dub...