I know it's possible to simulate a mouse click with SendMessage(), but is it possible to do a mouse drag and drop with it? And if so what is the exact code to do it?
I don't want another method of doing it, just the way mentioned above. Thanks.
Printable View
I know it's possible to simulate a mouse click with SendMessage(), but is it possible to do a mouse drag and drop with it? And if so what is the exact code to do it?
I don't want another method of doing it, just the way mentioned above. Thanks.
Hi,
I don't think there is any Window's defined message available for Mouse Drag event.
What you can do, you need to capture mouse move event and the same time, if mouse move occurs check if the mouse left button is down, if both conditions true then its a MouseDrag
For MouseDrop you can check for Mouse Left Button up event.
Is this what you are looking for ?
Thanks
Kiran