如何获得通过鼠标单击选择的文件的路径? [英] How can I get the path of file which selected by mouse click?

查看:68
本文介绍了如何获得通过鼠标单击选择的文件的路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想获取仅通过鼠标单击选择的文件的路径.
就像用钩子获取Windows消息一样.

I want to get the path of file which selected by mouse click only.
Like a hook to get windows messgae.

推荐答案

我不确定,但是以下链接可能会有所帮助

http://msdn.microsoft.com/en-us/library/ms644959.aspx#wh_mouse_llhook [^ ]

互操作:在C#中等待外部Win32事件 [
I am not sure but following links might help

http://msdn.microsoft.com/en-us/library/ms644959.aspx#wh_mouse_llhook[^]

Interop: Waiting in C# on External Win32 Events[^]


这篇关于如何获得通过鼠标单击选择的文件的路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆