creeping Posted June 12, 2006 Posted June 12, 2006 Just wondering, say I have $file = "d:\file.mp3" and I want to simulate a drag and drop to a window or control of which I have the handle of. How can I do this? Thanks
BigDod Posted June 12, 2006 Posted June 12, 2006 You could use MouseClickDrag Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
creeping Posted June 12, 2006 Author Posted June 12, 2006 You could use MouseClickDragSorry, I should of been more specific, I want this process to be totally invisible to the user. So the receving window or control will think it has received a file via drag and drop.But i just want to use the path of the file I have
w0uter Posted June 12, 2006 Posted June 12, 2006 send WM_DROPFILE or something like that using control* functions. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
creeping Posted June 12, 2006 Author Posted June 12, 2006 send WM_DROPFILE or something like that using control* functions.I search the forum for the use of "WM_DROPFILE" but could not find any references, would it be possible for you too give a simple example?Thanks
w0uter Posted June 12, 2006 Posted June 12, 2006 (edited) no i cant since i forgot the exact name [edit] the command that is recieved by a gui is WM_DROPFILES. you are gonna have to look on google for an example in like C++/VB since i never did anything like this [/edit] Edited June 12, 2006 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now